Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 6b11687e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);