On 3/29/17 3:36 AM, Nicolas Dichtel wrote: > Le 29/03/2017 à 07:32, David Miller a écrit : >> From: David Ahern <d...@cumulusnetworks.com> >> Date: Tue, 28 Mar 2017 14:28:00 -0700 >> >>> netconf notifications are sent as devices register but not when they >>> are deleted leaving userspace caches out of sync. Add support for >>> RTM_DELNETCONF to ipv4, ipv6 and mpls. > Not sure why those notifications are needed. When an interface is set down, > ipv4 > route deletion are not notified. Why is it needed for netconf? >
We carry a patch to send notifications for route deletes. In general, it makes management of libnl caches much easier when delete notifications are sent for each type. Without it, a link delete requires walking the other caches removing objects.