projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33b3d9
)
rxrpc: Fix defined range for /proc/sys/net/rxrpc/rx_mtu
author
David Howells
<dhowells@redhat.com>
Fri, 4 Mar 2016 15:55:32 +0000
(15:55 +0000)
committer
David Howells
<dhowells@redhat.com>
Fri, 4 Mar 2016 15:55:32 +0000
(15:55 +0000)
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>
net/rxrpc/sysctl.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rxrpc/sysctl.c
b/net/rxrpc/sysctl.c
index 50a98a910eb16c61c0298aded08513c22a808c19..093547ac2bcdddb18100ba1dfd89e1a337073aa4 100644
(file)
--- a/
net/rxrpc/sysctl.c
+++ b/
net/rxrpc/sysctl.c
@@
-115,7
+115,7
@@
static struct ctl_table rxrpc_sysctl_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.extra1 = (void *)&one,
- .extra
1
= (void *)&n_65535,
+ .extra
2
= (void *)&n_65535,
},
{
.procname = "rx_jumbo_max",