Commit 2bda2853 authored by Al Viro's avatar Al Viro Committed by David S. Miller

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

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6b11687e
...@@ -344,7 +344,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info) ...@@ -344,7 +344,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info)
sock_put(sk); 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) __be32 src, __be32 dst)
{ {
return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum); return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment