diff options
author | David S. Miller <davem@davemloft.net> | 2017-03-28 22:32:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-28 22:32:43 -0700 |
commit | 0e42c72195cc1a6f7461bfc48b32dce29e1677f7 (patch) | |
tree | c580cc80b392b5a1e31bf22999beadbead43d577 /include/net | |
parent | 50c0add534d2f56547201c9f566ad4b4f40c3049 (diff) | |
parent | 1182e4d0b4f8735184aecb27e4c0abd35054237c (diff) | |
download | lwn-0e42c72195cc1a6f7461bfc48b32dce29e1677f7.tar.gz lwn-0e42c72195cc1a6f7461bfc48b32dce29e1677f7.zip |
Merge branch 'netconf-delnetconf'
David Ahern says:
====================
netconf: Add support for RTM_DELNETCONF
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.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/addrconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 17c6fd84e287..1aeb25dd42a7 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -262,8 +262,8 @@ int register_inet6addr_notifier(struct notifier_block *nb); int unregister_inet6addr_notifier(struct notifier_block *nb); int inet6addr_notifier_call_chain(unsigned long val, void *v); -void inet6_netconf_notify_devconf(struct net *net, int type, int ifindex, - struct ipv6_devconf *devconf); +void inet6_netconf_notify_devconf(struct net *net, int event, int type, + int ifindex, struct ipv6_devconf *devconf); /** * __in6_dev_get - get inet6_dev pointer from netdevice |