[NET]: Annotate __skb_checksum_complete() and friends.

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:40:42 -08:00
committed by David S. Miller
parent b1550f2212
commit b51655b958
13 changed files with 22 additions and 22 deletions

View File

@ -411,7 +411,7 @@ fault:
return -EFAULT;
}
unsigned int __skb_checksum_complete(struct sk_buff *skb)
__sum16 __skb_checksum_complete(struct sk_buff *skb)
{
__sum16 sum;

View File

@ -77,8 +77,8 @@ static void queue_process(void *p)
}
}
static int checksum_udp(struct sk_buff *skb, struct udphdr *uh,
unsigned short ulen, __be32 saddr, __be32 daddr)
static __sum16 checksum_udp(struct sk_buff *skb, struct udphdr *uh,
unsigned short ulen, __be32 saddr, __be32 daddr)
{
__wsum psum;