mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
c6f8f7e3bb
commit
5e38e27044
4 changed files with 18 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue