aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 98ba75096175..f9c4ed7207bb 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -414,8 +414,9 @@ static void udp_flush_pending_frames(struct sock *sk)
414static void udp4_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb, 414static void udp4_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb,
415 __be32 src, __be32 dst, int len ) 415 __be32 src, __be32 dst, int len )
416{ 416{
417 unsigned int csum = 0, offset; 417 unsigned int offset;
418 struct udphdr *uh = skb->h.uh; 418 struct udphdr *uh = skb->h.uh;
419 __wsum csum = 0;
419 420
420 if (skb_queue_len(&sk->sk_write_queue) == 1) { 421 if (skb_queue_len(&sk->sk_write_queue) == 1) {
421 /* 422 /*