summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-03-04 10:55:32 -0500
committerDavid Howells <dhowells@redhat.com>2016-03-04 10:55:32 -0500
commitee6fe085a992d40d2b5d3e7e2b9e0eec1cdacaac (patch)
treef088dd6134cb714907c6ef43238cca4c7f82215f
parente33b3d97bc443aa330f086ca90a209a0d35dfa86 (diff)
rxrpc: Fix defined range for /proc/sys/net/rxrpc/rx_mtu
The upper bound of the defined range for rx_mtu is being set in the same member as the lower bound (extra1) rather than the correct place (extra2). I'm not entirely sure why this compiles. Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--net/rxrpc/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/sysctl.c b/net/rxrpc/sysctl.c
index 50a98a910eb1..093547ac2bcd 100644
--- a/net/rxrpc/sysctl.c
+++ b/net/rxrpc/sysctl.c
@@ -115,7 +115,7 @@ static struct ctl_table rxrpc_sysctl_table[] = {
115 .mode = 0644, 115 .mode = 0644,
116 .proc_handler = proc_dointvec_minmax, 116 .proc_handler = proc_dointvec_minmax,
117 .extra1 = (void *)&one, 117 .extra1 = (void *)&one,
118 .extra1 = (void *)&n_65535, 118 .extra2 = (void *)&n_65535,
119 }, 119 },
120 { 120 {
121 .procname = "rx_jumbo_max", 121 .procname = "rx_jumbo_max",