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.
MPLS is missing RTM_NEWNETCONF as devices are created, so add it as well. David Ahern (7): rtnetlink: Add RTM_DELNETCONF net: devinet: Refactor inet_netconf_notify_devconf to take event net: devinet: Add support for RTM_DELNETCONF net: ipv6: Refactor inet6_netconf_notify_devconf to take event net: ipv6: Add support for RTM_DELNETCONF net:mpls: Refactor mpls_netconf_notify_devconf to take event net: mpls: Send netconf messages on device register and unregister include/linux/inetdevice.h | 4 +-- include/net/addrconf.h | 4 +-- include/uapi/linux/rtnetlink.h | 2 ++ net/ipv4/devinet.c | 64 +++++++++++++++++++++++++++--------------- net/ipv4/ipmr.c | 12 ++++---- net/ipv6/addrconf.c | 53 +++++++++++++++++++++++----------- net/ipv6/ip6mr.c | 9 +++--- net/mpls/af_mpls.c | 28 ++++++++++-------- security/selinux/nlmsgtab.c | 1 + 9 files changed, 113 insertions(+), 64 deletions(-) -- 2.1.4