diff options
author | Eric Dumazet <edumazet@google.com> | 2023-06-01 19:04:44 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-03 08:55:43 +0300 |
commit | edf2e1d2019b2730d6076dbe4c040d37d7c10bbe (patch) | |
tree | 64b5ef7c632f978d8de9de508e5a025181db6a68 /net/ipv6/ioam6.c | |
parent | 37a826d86ff746c4eac8bd3415af19f3c9598206 (diff) | |
download | linux-edf2e1d2019b2730d6076dbe4c040d37d7c10bbe.tar.xz |
net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
skip_notify_on_dev_down ctl table expects this field
to be an int (4 bytes), not a bool (1 byte).
Because proc_dou8vec_minmax() was added in 5.13,
this patch converts skip_notify_on_dev_down to an int.
Following patch then converts the field to u8 and use proc_dou8vec_minmax().
Fixes: 7c6bb7d2faaf ("net/ipv6: Add knob to skip DELROUTE message on device down")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/ioam6.c')
0 files changed, 0 insertions, 0 deletions