diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index a0a5def920fc21dd46e5fa8d0fb7423a35875951..075bc695ae34c7a960894fee72ec46fb3416d725 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1745,7 +1745,7 @@ static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, * to blackhole. */ - IP_INC_STATS_BH(dev_net(dev), IPSTATS_MIB_FRAGFAILS); + IP_INC_STATS_BH(net, IPSTATS_MIB_FRAGFAILS); ip_rt_put(rt); goto out_free; }