diff options
author | Xin Long <lucien.xin@gmail.com> | 2021-05-25 05:49:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-26 01:18:29 +0300 |
commit | b2540cdce6e22ecf3de54daf5129cc37951348cc (patch) | |
tree | 689d36769d986ceb766645cf62b5f6d9d9390026 /scripts/gdb/linux/utils.py | |
parent | 297739bd73f6e49d80bac4bfd27f3598b798c0d4 (diff) | |
download | linux-b2540cdce6e22ecf3de54daf5129cc37951348cc.tar.xz |
sctp: fix the proc_handler for sysctl encap_port
proc_dointvec() cannot do min and max check for setting a value
when extra1/extra2 is set, so change it to proc_dointvec_minmax()
for sysctl encap_port.
Fixes: e8a3001c2120 ("sctp: add encap_port for netns sock asoc and transport")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions