diff options
| author | Stephen Hemminger <[email protected]> | 2008-08-23 12:16:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-08-23 12:16:46 +0000 |
| commit | f410a1fba7afa79d2992620e874a343fdba28332 (patch) | |
| tree | 5e08d30678cfadd65a8dfe20bc12160a23faa43d /lib/debugobjects.c | |
| parent | icmp: icmp_sk() should not use smp_processor_id() in preemptible code (diff) | |
| download | kernel-f410a1fba7afa79d2992620e874a343fdba28332.tar.gz kernel-f410a1fba7afa79d2992620e874a343fdba28332.zip | |
ipv6: protocol for address routes
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
