提交 2bda2853 编写于 作者: A Al Viro 提交者: David S. Miller

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

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6b11687e
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册