mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ipv6: added net argument to IP6_ADD_STATS_BH
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
483a47d2fe
commit
821d57776d
2 changed files with 3 additions and 2 deletions
|
@ -189,7 +189,7 @@ static void ip6_evictor(struct net *net, struct inet6_dev *idev)
|
|||
|
||||
evicted = inet_frag_evictor(&net->ipv6.frags, &ip6_frags);
|
||||
if (evicted)
|
||||
IP6_ADD_STATS_BH(idev, IPSTATS_MIB_REASMFAILS, evicted);
|
||||
IP6_ADD_STATS_BH(net, idev, IPSTATS_MIB_REASMFAILS, evicted);
|
||||
}
|
||||
|
||||
static void ip6_frag_expire(unsigned long data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue