aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 35985334daee..6bca71929de5 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -344,7 +344,7 @@ out:
344 sock_put(sk); 344 sock_put(sk);
345} 345}
346 346
347static inline u16 dccp_v4_csum_finish(struct sk_buff *skb, 347static inline __sum16 dccp_v4_csum_finish(struct sk_buff *skb,
348 __be32 src, __be32 dst) 348 __be32 src, __be32 dst)
349{ 349{
350 return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum); 350 return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum);