All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roopa Prabhu <roopa@cumulusnetworks.com>
To: netdev <netdev@vger.kernel.org>
Cc: David Miller <davem@davemloft.net>,
	Stephen Hemminger <stephen@networkplumber.org>,
	nicolas.dichtel@6wind.com, Thomas Graf <tgraf@suug.ch>
Subject: ipv4 dead route delete notification on netdev down
Date: Sat, 20 Sep 2014 21:02:28 -0700	[thread overview]
Message-ID: <541E4DD4.1050609@cumulusnetworks.com> (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

             reply	other threads:[~2014-09-21  4:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21  4:02 Roopa Prabhu [this message]
2014-09-21  4:08 ` ipv4 dead route delete notification on netdev down David Miller
2014-09-22  8:26 ` Nicolas Dichtel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=541E4DD4.1050609@cumulusnetworks.com \
    --to=roopa@cumulusnetworks.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=stephen@networkplumber.org \
    --cc=tgraf@suug.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.