diff options
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index c5ccd9a3387b..eac69ff0582c 100644 --- a/include/net/udp.h +++ b/include/net/udp.h | |||
@@ -77,7 +77,7 @@ static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) | |||
77 | skb->csum)); | 77 | skb->csum)); |
78 | } | 78 | } |
79 | 79 | ||
80 | static inline __sum16 udp_lib_checksum_complete(struct sk_buff *skb) | 80 | static inline int udp_lib_checksum_complete(struct sk_buff *skb) |
81 | { | 81 | { |
82 | return skb->ip_summed != CHECKSUM_UNNECESSARY && | 82 | return skb->ip_summed != CHECKSUM_UNNECESSARY && |
83 | __udp_lib_checksum_complete(skb); | 83 | __udp_lib_checksum_complete(skb); |