Skip to content

Commit 6e00f7d

Browse files
edumazetdavem330
authored andcommitted
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: 3e67f10 ("inet: frags: break the 2GB limit for frags storage") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: Maciej Żenczykowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 28e9c1d commit 6e00f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/reassembly.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = {
564564
.data = &init_net.ipv6.frags.low_thresh,
565565
.maxlen = sizeof(unsigned long),
566566
.mode = 0644,
567-
.proc_handler = proc_dointvec_minmax,
567+
.proc_handler = proc_doulongvec_minmax,
568568
.extra1 = &zero,
569569
.extra2 = &init_net.ipv6.frags.high_thresh
570570
},

0 commit comments

Comments
 (0)