fix return type of skb_checksum_complete()

It returns __sum16, not unsigned int

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
4381ca3c 5f17c70f

+1 -1
+1 -1
include/linux/skbuff.h
··· 1639 * if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the 1640 * hardware has already verified the correctness of the checksum. 1641 */ 1642 - static inline unsigned int skb_checksum_complete(struct sk_buff *skb) 1643 { 1644 return skb_csum_unnecessary(skb) ? 1645 0 : __skb_checksum_complete(skb);
··· 1639 * if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the 1640 * hardware has already verified the correctness of the checksum. 1641 */ 1642 + static inline __sum16 skb_checksum_complete(struct sk_buff *skb) 1643 { 1644 return skb_csum_unnecessary(skb) ? 1645 0 : __skb_checksum_complete(skb);