aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 1f8e2afa4490..b86425b7ea22 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -385,13 +385,11 @@ int udpv6_queue_rcv_skb(struct sock * sk, struct sk_buff *skb)
385 goto drop; 385 goto drop;
386 } 386 }
387 387
388 if ((rc = sock_queue_rcv_skb(sk,skb)) < 0) { 388 if ((rc = sock_queue_rcv_skb(sk, skb)) < 0) {
389 /* Note that an ENOMEM error is charged twice */ 389 /* Note that an ENOMEM error is charged twice */
390 if (rc == -ENOMEM) { 390 if (rc == -ENOMEM)
391 UDP6_INC_STATS_BH(sock_net(sk), 391 UDP6_INC_STATS_BH(sock_net(sk),
392 UDP_MIB_RCVBUFERRORS, is_udplite); 392 UDP_MIB_RCVBUFERRORS, is_udplite);
393 atomic_inc(&sk->sk_drops);
394 }
395 goto drop; 393 goto drop;
396 } 394 }
397 395