Skip to content

Commit

Permalink
ipv4: Don't recompute net in ipmr_queue_xmit
Browse files Browse the repository at this point in the history
Calling dev_net(dev) for is just silly.

Signed-off-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ebiederm authored and davem330 committed Sep 18, 2015
1 parent 88f5cc2 commit cc4c851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/ipmr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cc4c851

Please sign in to comment.