summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:26:08 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:23:28 -0800
commitd6f5493c1a42b1203e5b0cb0507afd00bb2927bf (patch)
tree8f9e713f76b642a56e2c2b5e723bc50b9a07b27a /net/core
parentd3bc23e7ee9db8023dff5a86bb3b0069ed018789 (diff)
downloadlinux-d6f5493c1a42b1203e5b0cb0507afd00bb2927bf.tar.bz2
[NET]: Annotate callers of csum_tcpudp_nofold() 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/core')
-rw-r--r--net/core/netpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index edd3246873e8..26ee1791aa02 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -78,9 +78,9 @@ static void queue_process(void *p)
}
static int checksum_udp(struct sk_buff *skb, struct udphdr *uh,
- unsigned short ulen, u32 saddr, u32 daddr)
+ unsigned short ulen, __be32 saddr, __be32 daddr)
{
- unsigned int psum;
+ __wsum psum;
if (uh->check == 0 || skb->ip_summed == CHECKSUM_UNNECESSARY)
return 0;