aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-04-02 00:57:59 -0400
committerDavid S. Miller <davem@davemloft.net>2018-04-02 10:10:50 -0400
commit6e00f7dd5e4edc2443f030b226f66fe4f1267667 (patch)
tree60acb26b838017c17398e63c236dd133c3925e57
parent28e9c1d530b4ccfb2d64ec5b1ebb1f9f893a21e8 (diff)
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 <edumazet@google.com> Reported-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/reassembly.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
564 .data = &init_net.ipv6.frags.low_thresh, 564 .data = &init_net.ipv6.frags.low_thresh,
565 .maxlen = sizeof(unsigned long), 565 .maxlen = sizeof(unsigned long),
566 .mode = 0644, 566 .mode = 0644,
567 .proc_handler = proc_dointvec_minmax, 567 .proc_handler = proc_doulongvec_minmax,
568 .extra1 = &zero, 568 .extra1 = &zero,
569 .extra2 = &init_net.ipv6.frags.high_thresh 569 .extra2 = &init_net.ipv6.frags.high_thresh
570 }, 570 },