diff options
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index c2bd28fd43e4..b4481df3d5fa 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -673,8 +673,11 @@ int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) | |||
673 | goto csum_error; | 673 | goto csum_error; |
674 | } | 674 | } |
675 | 675 | ||
676 | if (sk_rcvqueues_full(sk, skb, sk->sk_rcvbuf)) | 676 | if (sk_rcvqueues_full(sk, skb, sk->sk_rcvbuf)) { |
677 | UDP6_INC_STATS_BH(sock_net(sk), | ||
678 | UDP_MIB_RCVBUFERRORS, is_udplite); | ||
677 | goto drop; | 679 | goto drop; |
680 | } | ||
678 | 681 | ||
679 | skb_dst_drop(skb); | 682 | skb_dst_drop(skb); |
680 | 683 | ||
@@ -689,6 +692,7 @@ int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) | |||
689 | bh_unlock_sock(sk); | 692 | bh_unlock_sock(sk); |
690 | 693 | ||
691 | return rc; | 694 | return rc; |
695 | |||
692 | csum_error: | 696 | csum_error: |
693 | UDP6_INC_STATS_BH(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); | 697 | UDP6_INC_STATS_BH(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); |
694 | drop: | 698 | drop: |