Skip to content

Commit

Permalink
[NET]: Annotate callers of csum_tcpudp_nofold() in net/*
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent d3bc23e commit d6f5493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down
4 changes: 2 additions & 2 deletions net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6f5493

Please sign in to comment.