lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Dec 2013 12:05:12 +0100
From:	Michal Kubecek <mkubecek@...e.cz>
To:	netdev@...r.kernel.org
Subject: RTM_DELROUTE on interface going down - when to send?

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ