aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-14 23:03:00 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-14 23:05:29 -0700
commitdcfc23cac103b54dbc00a6f52f47656ad5c75844 (patch)
treef9a61572791da6c37a50a2d17b73b5f89a6b5fc4 /net/ipv4/udp.c
parentmib: add struct net to ICMP_INC_STATS (diff)
downloadlinux-dev-dcfc23cac103b54dbc00a6f52f47656ad5c75844.tar.xz
linux-dev-dcfc23cac103b54dbc00a6f52f47656ad5c75844.zip
mib: add struct net to ICMP_INC_STATS_BH
Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 9342cfda3d0a..fdd4faa1f120 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -359,7 +359,7 @@ void __udp4_lib_err(struct sk_buff *skb, u32 info, struct hlist_head udptable[])
sk = __udp4_lib_lookup(net, iph->daddr, uh->dest,
iph->saddr, uh->source, skb->dev->ifindex, udptable);
if (sk == NULL) {
- ICMP_INC_STATS_BH(ICMP_MIB_INERRORS);
+ ICMP_INC_STATS_BH(net, ICMP_MIB_INERRORS);
return; /* No socket for error */
}