From 63a1a99d4333b4a214bc207ac3d32b4f9564026f Mon Sep 17 00:00:00 2001 From: Ian McDonald Date: Mon, 28 May 2007 16:32:26 -0300 Subject: [PATCH] --- yaml --- r: 58910 b: refs/heads/master c: e961811fcde4202ae5c3c9ce81dcfc244e8959bb h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/dccp/dccp.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 3556df97f2d1..35e83cdcaa7e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b2f41ff4139c0df8d06f352acc962a62fc07a0c3 +refs/heads/master: e961811fcde4202ae5c3c9ce81dcfc244e8959bb diff --git a/trunk/net/dccp/dccp.h b/trunk/net/dccp/dccp.h index d8ad27bfe01a..e2d74cd7eeeb 100644 --- a/trunk/net/dccp/dccp.h +++ b/trunk/net/dccp/dccp.h @@ -184,7 +184,7 @@ DECLARE_SNMP_STAT(struct dccp_mib, dccp_statistics); /* * Checksumming routines */ -static inline int dccp_csum_coverage(const struct sk_buff *skb) +static inline unsigned int dccp_csum_coverage(const struct sk_buff *skb) { const struct dccp_hdr* dh = dccp_hdr(skb); @@ -195,7 +195,7 @@ static inline int dccp_csum_coverage(const struct sk_buff *skb) static inline void dccp_csum_outgoing(struct sk_buff *skb) { - int cov = dccp_csum_coverage(skb); + unsigned int cov = dccp_csum_coverage(skb); if (cov >= skb->len) dccp_hdr(skb)->dccph_cscov = 0;