aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/tcp_ipv6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 0268e118f0b4..00c08399837d 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -733,7 +733,7 @@ static int tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
733 struct in6_addr *saddr, 733 struct in6_addr *saddr,
734 struct in6_addr *daddr, 734 struct in6_addr *daddr,
735 struct tcphdr *th, int protocol, 735 struct tcphdr *th, int protocol,
736 int tcplen) 736 unsigned int tcplen)
737{ 737{
738 struct scatterlist sg[4]; 738 struct scatterlist sg[4];
739 __u16 data_len; 739 __u16 data_len;
@@ -818,7 +818,7 @@ static int tcp_v6_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
818 struct dst_entry *dst, 818 struct dst_entry *dst,
819 struct request_sock *req, 819 struct request_sock *req,
820 struct tcphdr *th, int protocol, 820 struct tcphdr *th, int protocol,
821 int tcplen) 821 unsigned int tcplen)
822{ 822{
823 struct in6_addr *saddr, *daddr; 823 struct in6_addr *saddr, *daddr;
824 824
@@ -985,7 +985,7 @@ static void tcp_v6_send_reset(struct sock *sk, struct sk_buff *skb)
985 struct tcphdr *th = tcp_hdr(skb), *t1; 985 struct tcphdr *th = tcp_hdr(skb), *t1;
986 struct sk_buff *buff; 986 struct sk_buff *buff;
987 struct flowi fl; 987 struct flowi fl;
988 int tot_len = sizeof(*th); 988 unsigned int tot_len = sizeof(*th);
989#ifdef CONFIG_TCP_MD5SIG 989#ifdef CONFIG_TCP_MD5SIG
990 struct tcp_md5sig_key *key; 990 struct tcp_md5sig_key *key;
991#endif 991#endif
@@ -1085,7 +1085,7 @@ static void tcp_v6_send_ack(struct tcp_timewait_sock *tw,
1085 struct tcphdr *th = tcp_hdr(skb), *t1; 1085 struct tcphdr *th = tcp_hdr(skb), *t1;
1086 struct sk_buff *buff; 1086 struct sk_buff *buff;
1087 struct flowi fl; 1087 struct flowi fl;
1088 int tot_len = sizeof(struct tcphdr); 1088 unsigned int tot_len = sizeof(struct tcphdr);
1089 __be32 *topt; 1089 __be32 *topt;
1090#ifdef CONFIG_TCP_MD5SIG 1090#ifdef CONFIG_TCP_MD5SIG
1091 struct tcp_md5sig_key *key; 1091 struct tcp_md5sig_key *key;