diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-02-07 09:22:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-09 01:47:03 +0100 |
commit | 648106c30a635e18fb55da60d4fcbfca6f6483ac (patch) | |
tree | 8bf0d51e10d0bcc84786245467b8fa09bb20a271 /net/ipv4/sysctl_net_ipv4.c | |
parent | IPv4: Add "offload failed" indication to routes (diff) | |
download | linux-648106c30a635e18fb55da60d4fcbfca6f6483ac.tar.xz linux-648106c30a635e18fb55da60d4fcbfca6f6483ac.zip |
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>
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index e5798b3b59d2..f55095d3ed16 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -1361,7 +1361,7 @@ static struct ctl_table ipv4_net_table[] = { .mode = 0644, .proc_handler = proc_dointvec_minmax, .extra1 = SYSCTL_ZERO, - .extra2 = SYSCTL_ONE, + .extra2 = &two, }, { } }; |