Skip to contentSkip to conversation

ipv4 dead route delete notification on netdev down

DISCUSSION Roopa Prabhu 3 participants 3 messages Sep 21, 2014 – Sep 22, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

From: Roopa Prabhu <[email protected]>
Date: Sat, 20 Sep 2014 21:02:28 -0700

Quoted 2 lines

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.

#2 lore raw
In reply to Roopa Prabhu
Quoted 3 lines · Roopa Prabhu

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 :/