diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-16 23:19:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 23:19:49 -0400 |
commit | 5e38e270444f2629de7a706b5a9ca1b333d14517 (patch) | |
tree | 774a15eb5ace315c0c5e06630e4ba3d24406b12f /net/ipv4/raw.c | |
parent | c6f8f7e3bb4b2c1886ef3743e8f24521f7a60abc (diff) |
mib: add net to IP_INC_STATS
All the callers already have either the net itself, or the place
where to get it from.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r-- | net/ipv4/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 7f39ea443ec..cd975743bcd 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -385,7 +385,7 @@ error_fault: | |||
385 | err = -EFAULT; | 385 | err = -EFAULT; |
386 | kfree_skb(skb); | 386 | kfree_skb(skb); |
387 | error: | 387 | error: |
388 | IP_INC_STATS(IPSTATS_MIB_OUTDISCARDS); | 388 | IP_INC_STATS(net, IPSTATS_MIB_OUTDISCARDS); |
389 | return err; | 389 | return err; |
390 | } | 390 | } |
391 | 391 | ||