mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[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:
parent
6b11687ef0
commit
2bda285315
@ -344,7 +344,7 @@ out:
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user