From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: [PATCH net-next] ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh Date: Sun, 1 Apr 2018 21:57:59 -0700 Message-ID: <20180402045759.25641-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: netdev , Eric Dumazet , =?UTF-8?q?Maciej=20=C5=BBenczykowski?= , Eric Dumazet To: "David S . Miller" Return-path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:33044 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbeDBE6R (ORCPT ); Mon, 2 Apr 2018 00:58:17 -0400 Received: by mail-pf0-f195.google.com with SMTP id f15so8797906pfn.0 for ; Sun, 01 Apr 2018 21:58:16 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: 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 --- net/ipv6/reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 7b52efc63f6adad2c242ae1171e5b7b27b40f0bf..70e4a578b2fb6b2941daeebe4f476214953db047 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 }, -- 2.17.0.rc1.321.gba9d0f2565-goog