diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 21:06:37 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:27:16 -0500 |
commit | 8e5200f54062b8af0ed1d186ea0f113854786d89 (patch) | |
tree | 71e00b21ae4f8410413f70141aa275529dbbfb84 /net/ipv4 | |
parent | 34bcca28335977e969338c98c6c43a1e08f592b2 (diff) |
[NET]: Fix assorted misannotations (from md5 and udplite merges).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 | ||||
-rw-r--r-- | net/ipv4/udp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index b7d5522092eb..e9d467124c4d 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1020,7 +1020,7 @@ static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, | |||
1020 | #ifdef CONFIG_TCP_MD5SIG_DEBUG | 1020 | #ifdef CONFIG_TCP_MD5SIG_DEBUG |
1021 | int i; | 1021 | int i; |
1022 | #endif | 1022 | #endif |
1023 | __u16 old_checksum; | 1023 | __sum16 old_checksum; |
1024 | struct tcp_md5sig_pool *hp; | 1024 | struct tcp_md5sig_pool *hp; |
1025 | struct tcp4_pseudohdr *bp; | 1025 | struct tcp4_pseudohdr *bp; |
1026 | struct hash_desc *desc; | 1026 | struct hash_desc *desc; |
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 7eb76fbf1b4b..28e4cf662ce0 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -114,7 +114,7 @@ DEFINE_RWLOCK(udp_hash_lock); | |||
114 | 114 | ||
115 | static int udp_port_rover; | 115 | static int udp_port_rover; |
116 | 116 | ||
117 | static inline int __udp_lib_lport_inuse(__be16 num, struct hlist_head udptable[]) | 117 | static inline int __udp_lib_lport_inuse(__u16 num, struct hlist_head udptable[]) |
118 | { | 118 | { |
119 | struct sock *sk; | 119 | struct sock *sk; |
120 | struct hlist_node *node; | 120 | struct hlist_node *node; |
@@ -455,7 +455,7 @@ static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) | |||
455 | struct sk_buff *skb; | 455 | struct sk_buff *skb; |
456 | struct udphdr *uh; | 456 | struct udphdr *uh; |
457 | int err = 0; | 457 | int err = 0; |
458 | u32 csum = 0; | 458 | __wsum csum = 0; |
459 | 459 | ||
460 | /* Grab the skbuff where UDP header space exists. */ | 460 | /* Grab the skbuff where UDP header space exists. */ |
461 | if ((skb = skb_peek(&sk->sk_write_queue)) == NULL) | 461 | if ((skb = skb_peek(&sk->sk_write_queue)) == NULL) |