diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-16 04:03:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-18 03:18:33 +0300 |
commit | cc4c851e4b41d668075d7cb6c71e3725bc5d4662 (patch) | |
tree | 067fc4c1e17861c11eb26765f2310749707be955 /net/ipv4/ipmr.c | |
parent | 88f5cc245849df73c353f7bb46e9e5749469f6d3 (diff) | |
download | linux-cc4c851e4b41d668075d7cb6c71e3725bc5d4662.tar.xz |
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/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 2 |
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; } |