projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06b754
)
tcp: md5: tcp_md5_do_lookup_exact() can be static
author
Wu Fengguang
<fengguang.wu@intel.com>
Wed, 5 Jul 2017 23:58:53 +0000
(07:58 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 6 Jul 2017 09:54:15 +0000
(10:54 +0100)
Fixes:
6797318e623d
("tcp: md5: add an address prefix for key lookup")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_ipv4.c
b/net/ipv4/tcp_ipv4.c
index
6ec6900
..
a20e7f0
100644
(file)
--- a/
net/ipv4/tcp_ipv4.c
+++ b/
net/ipv4/tcp_ipv4.c
@@
-943,9
+943,9
@@
struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk,
}
EXPORT_SYMBOL(tcp_md5_do_lookup);
-struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
- const union tcp_md5_addr *addr,
- int family, u8 prefixlen)
+st
atic st
ruct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
+
const union tcp_md5_addr *addr,
+
int family, u8 prefixlen)
{
const struct tcp_sock *tp = tcp_sk(sk);
struct tcp_md5sig_key *key;