[NET]: Annotate csum_tcpudp_magic() callers in net/*

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro
2006-11-14 21:28:24 -08:00
committed by David S. Miller
parent d6f5493c1a
commit 6b11687ef0
2 changed files with 5 additions and 4 deletions

View File

@@ -414,8 +414,9 @@ static void udp_flush_pending_frames(struct sock *sk)
static void udp4_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb,
__be32 src, __be32 dst, int len )
{
unsigned int csum = 0, offset;
unsigned int offset;
struct udphdr *uh = skb->h.uh;
__wsum csum = 0;
if (skb_queue_len(&sk->sk_write_queue) == 1) {
/*