summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-15 09:15:41 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 23:54:47 +0200
commitf8d8fda54a1bfcf8cf829e44c494b2b4582819aa (patch)
tree370f231339db628ef05f291a8511cc5f53ba330c /net/ipv6/udp.c
parent[ARCNET]: SoHard PCI support (diff)
downloadlinux-f8d8fda54a1bfcf8cf829e44c494b2b4582819aa.tar.xz
linux-f8d8fda54a1bfcf8cf829e44c494b2b4582819aa.zip
[IPV6] udp: Fix type in previous change.
UDPv6 stats are UDP6_foo not UDP_foo. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/udp.c4
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)
if ((rc = sock_queue_rcv_skb(sk,skb)) < 0) {
/* Note that an ENOMEM error is charged twice */
if (rc == -ENOMEM)
- UDP_INC_STATS_BH(UDP_MIB_RCVBUFERRORS);
+ UDP6_INC_STATS_BH(UDP_MIB_RCVBUFERRORS);
UDP6_INC_STATS_BH(UDP_MIB_INERRORS);
kfree_skb(skb);
return 0;
@@ -870,7 +870,7 @@ out:
* seems like overkill.
*/
if (err == -ENOBUFS || test_bit(SOCK_NOSPACE, &sk->sk_socket->flags)) {
- UDP_INC_STATS_USER(UDP_MIB_SNDBUFERRORS);
+ UDP6_INC_STATS_USER(UDP_MIB_SNDBUFERRORS);
}
return err;