diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index c813381020bc..eb9e1b39c8f8 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -361,7 +361,7 @@ static inline int udpv6_queue_rcv_skb(struct sock * sk, struct sk_buff *skb) | |||
361 | if ((rc = sock_queue_rcv_skb(sk,skb)) < 0) { | 361 | if ((rc = sock_queue_rcv_skb(sk,skb)) < 0) { |
362 | /* Note that an ENOMEM error is charged twice */ | 362 | /* Note that an ENOMEM error is charged twice */ |
363 | if (rc == -ENOMEM) | 363 | if (rc == -ENOMEM) |
364 | UDP_INC_STATS_BH(UDP_MIB_RCVBUFERRORS); | 364 | UDP6_INC_STATS_BH(UDP_MIB_RCVBUFERRORS); |
365 | UDP6_INC_STATS_BH(UDP_MIB_INERRORS); | 365 | UDP6_INC_STATS_BH(UDP_MIB_INERRORS); |
366 | kfree_skb(skb); | 366 | kfree_skb(skb); |
367 | return 0; | 367 | return 0; |
@@ -870,7 +870,7 @@ out: | |||
870 | * seems like overkill. | 870 | * seems like overkill. |
871 | */ | 871 | */ |
872 | if (err == -ENOBUFS || test_bit(SOCK_NOSPACE, &sk->sk_socket->flags)) { | 872 | if (err == -ENOBUFS || test_bit(SOCK_NOSPACE, &sk->sk_socket->flags)) { |
873 | UDP_INC_STATS_USER(UDP_MIB_SNDBUFERRORS); | 873 | UDP6_INC_STATS_USER(UDP_MIB_SNDBUFERRORS); |
874 | } | 874 | } |
875 | return err; | 875 | return err; |
876 | 876 | ||