]> git.baikalelectronics.ru Git - kernel.git/commit
IPv6: Extend 'fib_notify_on_flag_change' sysctl
authorAmit Cohen <amcohen@nvidia.com>
Sun, 7 Feb 2021 08:22:53 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 00:47:03 +0000 (16:47 -0800)
commit7aad7e35a2166c812219811b3aef2546ad2e163d
tree0d9d9b1da44c6b71e9d82dc2f1a6e572fac6e828
parent114d16a15b03d118f0aeaccf5ecaa2d74262f407
IPv6: Extend 'fib_notify_on_flag_change' sysctl

Add the value '2' to 'fib_notify_on_flag_change' to allow sending
notifications only for failed route installation.

Separate value is added for such notifications because there are less of
them, so they do not impact performance and some users will find them more
important.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.rst
net/ipv6/route.c
net/ipv6/sysctl_net_ipv6.c