[Xorp-hackers] Fix for xorp.ct on older kernels.

Ben Greear greearb at candelatech.com
Mon Mar 29 12:01:53 PDT 2010


     One of the optimizations I added in xorp.ct was to only pull information
     for devices we are configured to use, instead of asking netlink for the
     entire tree.  This saves a lot of work when you have 1000 interfaces and
     xorp only configured for a few of them.

     However, older kernels (2.6.18, when compile without
     CONFIG_NET_WIRELESS_RTNETLINK, for example) cannot get netlink info
     for a single device.

     So, I just pushed a patch to xorp.ct that adds a work-around
     that allows xorp to fall back to grab all interfaces for
     kernels that only support this method.

     Thanks to saurabh.pandya at elitecore.com for reporting this bug and
     giving me enough info to track it down.


Thanks,
Ben

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



More information about the Xorp-hackers mailing list