[NET]: Annotate csum_tcpudp_magic() callers in net/*

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:28:51 -08:00 committed by David S. Miller
parent 6b11687ef0
commit 2bda285315

View File

@ -344,7 +344,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info)
sock_put(sk);
}
static inline u16 dccp_v4_csum_finish(struct sk_buff *skb,
static inline __sum16 dccp_v4_csum_finish(struct sk_buff *skb,
__be32 src, __be32 dst)
{
return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum);