mib: add net to IP_INC_STATS_BH
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
5e38e27044
commit
7c73a6faff
@@ -1429,7 +1429,8 @@ static int ip_error(struct sk_buff *skb)
|
||||
break;
|
||||
case ENETUNREACH:
|
||||
code = ICMP_NET_UNREACH;
|
||||
IP_INC_STATS_BH(IPSTATS_MIB_INNOROUTES);
|
||||
IP_INC_STATS_BH(dev_net(rt->u.dst.dev),
|
||||
IPSTATS_MIB_INNOROUTES);
|
||||
break;
|
||||
case EACCES:
|
||||
code = ICMP_PKT_FILTERED;
|
||||
|
Reference in New Issue
Block a user