[quagga-users 8371] Re: Notes on the quagga netlink handling on Linux.

Robert Olsson Robert.Olsson at data.slu.se
Wed May 9 20:50:11 IST 2007


Hello!

Milan Kocian writes:
 > Yes, I see this behavior too. But only on newest kernel (2.6.19, 20.6.20
 > and may be older). Kernel 2.6.11.12 (probably 2.6.14 too when I well
 > remember, but I don't have it to test) works without problem. From my
 > opinion was changed number of netlink's messages.

 Yes seems there is there is a change in netlink messages in newer kernel we 
 get an extra RTM_DELLINK which removes the addresses and causes this problem

 Try:

--- zebra/rt_netlink.c.orig	2007-05-09 19:03:20.000000000 +0200
+++ zebra/rt_netlink.c	2007-05-09 19:03:30.000000000 +0200
@@ -1073,7 +1073,6 @@
       return netlink_link_change (snl, h);
       break;
     case RTM_DELLINK:
-      return netlink_link_change (snl, h);
       break;
     case RTM_NEWADDR:
       return netlink_interface_addr (snl, h);
 

 Cheers
					--ro


 > kernel 2.6.11.12: DOWN:
 > 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast 
 >     link/ether 00:30:4f:37:50:87 brd ff:ff:ff:ff:ff:ff
 > 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast 
 >     link/ether 00:30:4f:37:50:87 brd ff:ff:ff:ff:ff:ff

 > kernel 2.6.21: DOWN:
 > 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast 
 >     link/ether 00:0d:60:cf:13:d9 brd ff:ff:ff:ff:ff:ff
 > Deleted 2: eth0: <BROADCAST,MULTICAST> mtu 1500 
 >     link/ether 00:0d:60:cf:13:d9
 > 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast 
 >     link/ether 00:0d:60:cf:13:d9 brd ff:ff:ff:ff:ff:ff




More information about the Quagga-users mailing list