aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-15 20:03:58 -0500
committerDavid S. Miller <davem@davemloft.net>2015-09-17 17:18:33 -0700
commitcc4c851e4b41d668075d7cb6c71e3725bc5d4662 (patch)
tree067fc4c1e17861c11eb26765f2310749707be955 /net
parentipv4: Remember the net in ip_output and ip_mc_output (diff)
downloadlinux-dev-cc4c851e4b41d668075d7cb6c71e3725bc5d4662.tar.xz
linux-dev-cc4c851e4b41d668075d7cb6c71e3725bc5d4662.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/ipmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index a0a5def920fc..075bc695ae34 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;
}