ipv4: Don't recompute net in ipmr_queue_xmit
Calling dev_net(dev) for is just silly. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
88f5cc2458
commit
cc4c851e4b
|
@ -1745,7 +1745,7 @@ static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt,
|
||||||
* to blackhole.
|
* to blackhole.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
IP_INC_STATS_BH(dev_net(dev), IPSTATS_MIB_FRAGFAILS);
|
IP_INC_STATS_BH(net, IPSTATS_MIB_FRAGFAILS);
|
||||||
ip_rt_put(rt);
|
ip_rt_put(rt);
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue