mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:50:53 +07: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 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user