aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index fc9bdd8b7dcf..9aea88b8d4fc 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -99,7 +99,7 @@ static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk,
99static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, 99static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
100 __be32 saddr, __be32 daddr, 100 __be32 saddr, __be32 daddr,
101 struct tcphdr *th, int protocol, 101 struct tcphdr *th, int protocol,
102 int tcplen); 102 unsigned int tcplen);
103#endif 103#endif
104 104
105struct inet_hashinfo __cacheline_aligned tcp_hashinfo = { 105struct inet_hashinfo __cacheline_aligned tcp_hashinfo = {
@@ -1020,7 +1020,7 @@ static int tcp_v4_parse_md5_keys(struct sock *sk, char __user *optval,
1020static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, 1020static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
1021 __be32 saddr, __be32 daddr, 1021 __be32 saddr, __be32 daddr,
1022 struct tcphdr *th, int protocol, 1022 struct tcphdr *th, int protocol,
1023 int tcplen) 1023 unsigned int tcplen)
1024{ 1024{
1025 struct scatterlist sg[4]; 1025 struct scatterlist sg[4];
1026 __u16 data_len; 1026 __u16 data_len;
@@ -1113,7 +1113,7 @@ int tcp_v4_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
1113 struct dst_entry *dst, 1113 struct dst_entry *dst,
1114 struct request_sock *req, 1114 struct request_sock *req,
1115 struct tcphdr *th, int protocol, 1115 struct tcphdr *th, int protocol,
1116 int tcplen) 1116 unsigned int tcplen)
1117{ 1117{
1118 __be32 saddr, daddr; 1118 __be32 saddr, daddr;
1119 1119