diff options
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 4f0626735ed3..39e825a6909a 100644 --- a/include/net/udp.h +++ b/include/net/udp.h | |||
@@ -89,9 +89,9 @@ static __inline__ int udp_lib_checksum_complete(struct sk_buff *skb) | |||
89 | * @skb: sk_buff containing the filled-in UDP header | 89 | * @skb: sk_buff containing the filled-in UDP header |
90 | * (checksum field must be zeroed out) | 90 | * (checksum field must be zeroed out) |
91 | */ | 91 | */ |
92 | static inline u32 udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) | 92 | static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) |
93 | { | 93 | { |
94 | u32 csum = csum_partial(skb->h.raw, sizeof(struct udphdr), 0); | 94 | __wsum csum = csum_partial(skb->h.raw, sizeof(struct udphdr), 0); |
95 | 95 | ||
96 | skb_queue_walk(&sk->sk_write_queue, skb) { | 96 | skb_queue_walk(&sk->sk_write_queue, skb) { |
97 | csum = csum_add(csum, skb->csum); | 97 | csum = csum_add(csum, skb->csum); |