]> git.baikalelectronics.ru Git - kernel.git/commit
IPv4: Extend 'fib_notify_on_flag_change' sysctl
authorAmit Cohen <amcohen@nvidia.com>
Sun, 7 Feb 2021 08:22:51 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 00:47:03 +0000 (16:47 -0800)
commit5ac0079dae9af8aaf703959c19f0856f32da1f64
tree8bf0d51e10d0bcc84786245467b8fa09bb20a271
parent0dbecd5d22b8d7a8c2c01a5025c232b0478a206e
IPv4: 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/ipv4/fib_trie.c
net/ipv4/sysctl_net_ipv4.c