[NET]: Annotate ip_vs_checksum_complete() and callers.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -536,7 +536,7 @@ static unsigned int ip_vs_post_routing(unsigned int hooknum,
|
||||
return NF_STOP;
|
||||
}
|
||||
|
||||
u16 ip_vs_checksum_complete(struct sk_buff *skb, int offset)
|
||||
__sum16 ip_vs_checksum_complete(struct sk_buff *skb, int offset)
|
||||
{
|
||||
return csum_fold(skb_checksum(skb, offset, skb->len - offset, 0));
|
||||
}
|
||||
|
Reference in New Issue
Block a user