ipv4 dead route delete notification on netdev down

3 messages, 3 authors, 2014-09-22 · open the first message on its own page

ipv4 dead route delete notification on netdev down

From: Roopa Prabhu <hidden>
Date: 2014-09-21 04:02:34

Hi,

The kernel does not send notification for deleted dead ipv4 routes on 
netdev down.
This has been brought up before and patches for the fix have been rejected.
The reason for rejection is that the routing daemons are expected to 
purge their
routing tables on netdev down notifications.

http://www.spinics.net/lists/netdev/msg215161.html
http://lists.openwall.net/netdev/2013/10/17/55

This issue keeps coming back. We run into this too. Wanted to send this 
email out to see if opinions have changed.

There are multiple problems:
1) inconsistency in kernel notification behavior between ipv4 and ipv6 
for dead routes
2) Its not just the routing daemons, its also the userspace netlink 
caches like libnl. In abcense of a direct notification,
these will have to purge the routes on link down too.

Thanks,
Roopa

Re: ipv4 dead route delete notification on netdev down

From: David Miller <davem@davemloft.net>
Date: 2014-09-21 04:08:18

From: Roopa Prabhu <redacted>
Date: Sat, 20 Sep 2014 21:02:28 -0700
This issue keeps coming back. We run into this too. Wanted to send
this email out to see if opinions have changed.
My opinion has not changed.

Re: ipv4 dead route delete notification on netdev down

From: Nicolas Dichtel <hidden>
Date: 2014-09-22 08:26:13

Le 21/09/2014 06:02, Roopa Prabhu a écrit :
Hi,

The kernel does not send notification for deleted dead ipv4 routes on netdev down.
Not only on netdev down. If you remove the last IPv4 address, the kernel will
also purge its routing table without any notification :/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help