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>
This commit is contained in:
Pavel Emelyanov 2008-07-16 20:19:49 -07:00 committed by David S. Miller
parent c6f8f7e3bb
commit 5e38e27044
4 changed files with 18 additions and 18 deletions

View file

@ -385,7 +385,7 @@ error_fault:
err = -EFAULT;
kfree_skb(skb);
error:
IP_INC_STATS(IPSTATS_MIB_OUTDISCARDS);
IP_INC_STATS(net, IPSTATS_MIB_OUTDISCARDS);
return err;
}