Hi all
Recently, I face segmentation fault with AODV. So I check all the
AODV C/C++ object and tcl. I found that In AODV, there's ifq which is
PriQueue.
In that case, when writing a wirelss network TCL file, declare "set
opt(ifq) Queue/DRR" or
"set opt(ifq) Queue/RED", there's a chance will cause segmentation fault.
Because when link fail, AODV will call AODV::rt_ll_failed(Packet*).
and AODV will drop all the packets that is stored for the broken link. But
in the tcl file, we declare "set opt(ifq) Queue/DRR", So I think this is the
key to case the segmentation fault. The ifq in the network is not match with
one in AODV.
I dont know am I right? Maybe some one can give me some advice about it.
Maybe a solution better. :P
thanks for any reply.
howard