[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

@ -1527,7 +1527,7 @@ out:
return NULL;
}
static int tcp_v6_checksum_init(struct sk_buff *skb)
static __sum16 tcp_v6_checksum_init(struct sk_buff *skb)
{
if (skb->ip_summed == CHECKSUM_COMPLETE) {
if (!tcp_v6_check(skb->h.th,skb->len,&skb->nh.ipv6h->saddr,