Commit ee6fe085 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
parent e33b3d97
...@@ -115,7 +115,7 @@ static struct ctl_table rxrpc_sysctl_table[] = { ...@@ -115,7 +115,7 @@ static struct ctl_table rxrpc_sysctl_table[] = {
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.extra1 = (void *)&one, .extra1 = (void *)&one,
.extra1 = (void *)&n_65535, .extra2 = (void *)&n_65535,
}, },
{ {
.procname = "rx_jumbo_max", .procname = "rx_jumbo_max",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment