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:
bd2a13e
)
tcp: make proc_tcp_fastopen_key static
author
stephen hemminger
<shemminger@vyatta.com>
Fri, 28 Dec 2012 18:20:24 +0000
(18:20 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Dec 2012 04:32:36 +0000
(20:32 -0800)
Detected by sparse.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/sysctl_net_ipv4.c
b/net/ipv4/sysctl_net_ipv4.c
index d84400b65049e61bc64f8f8eef37e2be2aaf2eda..7547a6d238a290839bed4ee4e1289586b70831c5 100644
(file)
--- a/
net/ipv4/sysctl_net_ipv4.c
+++ b/
net/ipv4/sysctl_net_ipv4.c
@@
-232,8
+232,8
@@
static int ipv4_tcp_mem(ctl_table *ctl, int write,
return 0;
}
-int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
- size_t *lenp, loff_t *ppos)
+
static
int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
+
size_t *lenp, loff_t *ppos)
{
ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) };
struct tcp_fastopen_context *ctxt;