From: Eric Dumazet Date: Mon, 2 Apr 2018 04:57:59 +0000 (-0700) Subject: ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6e00f7dd5e4edc2443f030b226f66fe4f1267667;p=openwrt%2Fstaging%2Fblogic.git 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 Reported-by: Maciej Żenczykowski Signed-off-by: David S. Miller --- diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 7b52efc63f6a..70e4a578b2fb 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c @@ -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 },