net: ipv6: Add support for RTM_DELNETCONF
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 28 Mar 2017 21:28:05 +0000 (14:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 05:32:42 +0000 (22:32 -0700)
commit2345217026a093cdfd0f3e193ec9f2c82f22e1c2
treed4b0efa438cf68abb4bd6a98e87cbcec00fa9ebd
parent85b3daada4cab8cc36888f5d025058bbc8737497
net: ipv6: Add support for RTM_DELNETCONF

Send RTM_DELNETCONF notifications when a device is deleted. The message only
needs the device index, so modify inet6_netconf_fill_devconf to skip devconf
references if it is NULL.

Allows a userspace cache to remove entries as devices are deleted.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c