WSL2-Linux-Kernel/include/net/netns
David Ahern 7c6bb7d2fa net/ipv6: Add knob to skip DELROUTE message on device down
Another difference between IPv4 and IPv6 is the generation of RTM_DELROUTE
notifications when a device is taken down (admin down) or deleted. IPv4
does not generate a message for routes evicted by the down or delete;
IPv6 does. A NOS at scale really needs to avoid these messages and have
IPv4 and IPv6 behave similarly, relying on userspace to handle link
notifications and evict the routes.

At this point existing user behavior needs to be preserved. Since
notifications are a global action (not per app) the only way to preserve
existing behavior and allow the messages to be skipped is to add a new
sysctl (net/ipv6/route/skip_notify_on_dev_down) which can be set to
disable the notificatioons.

IPv6 route code already supports the option to skip the message (it is
used for multipath routes for example). Besides the new sysctl we need
to pass the skip_notify setting through the generic fib6_clean and
fib6_walk functions to fib6_clean_node and to set skip_notify on calls
to __ip_del_rt for the addrconf_ifdown path.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-12 09:47:02 -07:00
..
can.h
conntrack.h
core.h
dccp.h
generic.h
hash.h netns: get more entropy from net_hash_mix() 2018-06-23 10:59:56 +09:00
ieee802154_6lowpan.h
ipv4.h net: ipv4: Control SKB reprioritization after forwarding 2018-08-01 09:52:30 -07:00
ipv6.h net/ipv6: Add knob to skip DELROUTE message on device down 2018-10-12 09:47:02 -07:00
mib.h
mpls.h
netfilter.h
nftables.h netfilter: nf_tables: use dedicated mutex to guard transactions 2018-07-18 11:26:48 +02:00
packet.h
sctp.h
unix.h
x_tables.h
xfrm.h