]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: Annotate callers of csum_tcpudp_nofold() in net/*
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:26:08 +0000 (21:26 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:28 +0000 (21:23 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/core/netpoll.c

index 412e8114667d514d7969825059cf3a00c04088da..eafbcaf728fd82ca6a6501fc6904821ffb3f0317 100644 (file)
@@ -135,7 +135,7 @@ static inline void ip_tr_mc_map(__be32 addr, char *buf)
 
 struct ip_reply_arg {
        struct kvec iov[1];   
-       u32         csum; 
+       __wsum      csum;
        int         csumoffset; /* u16 offset of csum in iov[0].iov_base */
                                /* -1 if not needed */ 
 }; 
index edd3246873e8e0f3a4165168e5b1136ec05272e8..26ee1791aa0215cf8aa72f028e5e8fcec937a235 100644 (file)
@@ -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;