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:
committed by
David S. Miller
parent
c6f8f7e3bb
commit
5e38e27044
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user