Skip to content

Commit

Permalink
[NET]: Annotate csum_tcpudp_magic() callers 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 6b11687 commit 2bda285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dccp/ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2bda285

Please sign in to comment.