diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-15 08:28:24 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 08:23:29 +0300 |
commit | 6b11687ef003ed595033da89643c8995676f929d (patch) | |
tree | f18b8e552e88aa213a24cd10bb4c67ba0bab8710 /net/ipv4/udp.c | |
parent | d6f5493c1a42b1203e5b0cb0507afd00bb2927bf (diff) | |
download | linux-6b11687ef003ed595033da89643c8995676f929d.tar.xz |
[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>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 98ba75096175..f9c4ed7207bb 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -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) { /* |