[Xorp-hackers] xorp_static_routes easy to crash.

Bruce Simpson bms at incunabulum.net
Fri Dec 11 08:21:35 PST 2009


Li Zhao wrote:
> In many test cases, I found xorp_static_routes is very easy to crash. It is
> very timer sensitive.

Known issue... first person to fix it wins!

My favoured approach would be to refactor XrlPFSender objects to use a 
Boost shared_ptr<XrlPFSender>, and turn Xrl's embedded XrlPFSender* 
pointer into a weak_ptr<XrlPFSender>.

cheers,
BMS



More information about the Xorp-hackers mailing list