[Xorp-hackers] XRL is busy and does not send

Ben Greear greearb at candelatech.com
Thu May 19 08:46:42 PDT 2011


On 05/19/2011 08:24 AM, Philip Hugg wrote:
> Hello everyone,
>
> I'm currently working on Xorp-OLSR.
>
> The problem with OLSR is the route flapping.
> I've managed to find a few obvious bugs up to now however this one
> involves the interface to the XRL. I'm not sure how to fix.
>
> The problem I found is in file 'xrl_port.cc' where OLSR is sending the
> packets


> Now what I'm seeing is the debug message "PortOutput ...: send skipped
> (pending XRL)".
> It doesn't happen all the time but it's just enough to cause route flapping.
>
> My question is how could I fix the pending issue without causing a race
> condition in the code?
>
>
> I haven't looked into XRL yet but I don't understand why the packet is
> not sent.
> Should it be OLSR's responsibility to re-shedule the resending of the
> packet?
> Does this problem occur on the other routing protocols (BGP, OSPF ...)?

You might try a 'git blame' on that xrl_port.cc file and see if there
are any recent changes there.  There has been some work to support
async-xrls recently, and it's possible it is causing bugs.

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list