[Xorp-hackers] Crash due to stale cached xrl sender pointer.
Ben Greear
greearb at candelatech.com
Tue Oct 27 22:14:03 PDT 2009
Ben Greear wrote:
> XRL caches a pointer to the resolved_sender, but when something
> deletes a sender, it doesn't appear to clean up any existing XRLs.
> This leads to a crash on a highly loaded system (where senders must be
> timing out
> or something like that).
>
> Looks like a good place for smart pointers. I'm going to attempt that
> unless
> someone has another idea...
>
The attached patch seems to fix the problem.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorp_xrlsender_ref_ptr.patch
Type: text/x-patch
Size: 13637 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20091027/d06b4c87/attachment.bin
More information about the Xorp-hackers
mailing list