ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh
Subsystems (3)
PATCH 1/1 ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh
I forgot to change ip6frag_low_thresh proc_handler from proc_dointvec_minmax to proc_doulongvec_minmax
Fixes 3e67f106f619 ("inet: frags: break the 2GB limit for frags storage")
Signed-off-by Eric Dumazet <[email protected]>
Reported-by Maciej Żenczykowski <[email protected]>
--- net/ipv6/reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/reassembly.c +1 -1
@@ -564,7 +564,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = { .data = &init_net.ipv6.frags.low_thresh, .maxlen = sizeof(unsigned long), .mode = 0644, - .proc_handler = proc_dointvec_minmax, + .proc_handler = proc_doulongvec_minmax, .extra1 = &zero, .extra2 = &init_net.ipv6.frags.high_thresh },
Signature · 1 line
2.17.0.rc1.321.gba9d0f2565-goog
From: Eric Dumazet <[email protected]>
Date: Sun, 1 Apr 2018 21:57:59 -0700
Quoted 6 lines
I forgot to change
ip6frag_low_threshproc_handlerfromproc_dointvec_minmaxtoproc_doulongvec_minmaxFixes 3e67f106f619 ("inet: frags: break the 2GB limit for frags storage")Signed-off-by Eric Dumazet <[email protected]>Reported-by Maciej Żenczykowski <[email protected]>
Applied, thanks Eric.