Re: [RFC] ipv6: protocol for address routes | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
From: Stephen Hemminger <shemminger@xxxxxxxxxx> Date: Tue, 19 Aug 2008 08:54:41 -0700 > This fixes a problem spotted with zebra, but not sure if it is > necessary a kernel problem. With IPV6 when an address is added to > an interface, Zebra creates a duplicate RIB entry, one as a > connected route, and other as a kernel route. > > When an address is added to an interface the RTN_NEWADDR message > causes Zebra to create a connected route. In IPV4 when an address is > added to an interface a RTN_NEWROUTE message is set to user space > with the protocol RTPROT_KERNEL. Zebra ignores these messages, > because it already has the connected route. > > The problem is that route created in IPV6 has route protocol == > RTPROT_BOOT. Was this a design decision or a bug? This fixes > it. Same patch applies to both net-2.6 and stable. > > Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx> I've applied this to net-2.6, thanks Stephen. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Kernel List] [Site Home] [Ethernet Bridging] [Git] [IETF Annouce] [Linux Assembly] [VLAN] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Singles Social Netowrking] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Linux Wireless] [DDR & Rambus] [Free Dating] [Linux Resources] [Wireless Reading Device]
![]() |
![]() |