netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RTM_DELROUTE on interface going down - when to send?
@ 2013-12-17 11:05 Michal Kubecek
  2013-12-17 12:11 ` Kristian Evensen
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Kubecek @ 2013-12-17 11:05 UTC (permalink / raw)
  To: netdev

Hello,

one of our customers noticed that when an interface is switched down, no
RTM_DELROUTE message is sent for IPv4 routes being deleted (but there
are RTM_NEWROUTE messages when the interface is switched up). This is
because rather than deleting the routes with fib_table_delete(), they
are flagged with RTNH_F_DEAD in fib_sync_down_dev() and then deleted in
trie_flush_list().

Before I start with the patch, I would like to ask: would it be more
appropriate to send the message when the route is marked as dead or when
it is actually deleted from the trie?

                                                          Michal Kubecek

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-18  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 11:05 RTM_DELROUTE on interface going down - when to send? Michal Kubecek
2013-12-17 12:11 ` Kristian Evensen
2013-12-17 14:01   ` Michal Kubecek
2013-12-18  9:16     ` Nicolas Dichtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).