diff options
| author | Amit Cohen <[email protected]> | 2021-02-07 08:22:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-02-09 00:47:03 +0000 |
| commit | 6fad361ae9f43616bc6a3acc9180e75396031fe1 (patch) | |
| tree | 0d9d9b1da44c6b71e9d82dc2f1a6e572fac6e828 /net/ipv6/sysctl_net_ipv6.c | |
| parent | IPv6: Add "offload failed" indication to routes (diff) | |
| download | kernel-6fad361ae9f43616bc6a3acc9180e75396031fe1.tar.gz kernel-6fad361ae9f43616bc6a3acc9180e75396031fe1.zip | |
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 <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
| -rw-r--r-- | net/ipv6/sysctl_net_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c index 392ef01e3366..263ab43ed06b 100644 --- a/net/ipv6/sysctl_net_ipv6.c +++ b/net/ipv6/sysctl_net_ipv6.c @@ -167,7 +167,7 @@ static struct ctl_table ipv6_table_template[] = { .mode = 0644, .proc_handler = proc_dointvec_minmax, .extra1 = SYSCTL_ZERO, - .extra2 = SYSCTL_ONE, + .extra2 = &two, }, { } }; |
