projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f5cc2
)
ipv4: Don't recompute net in ipmr_queue_xmit
author
Eric W. Biederman
<ebiederm@xmission.com>
Wed, 16 Sep 2015 01:03:58 +0000
(20:03 -0500)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Sep 2015 00:18:33 +0000
(17:18 -0700)
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>
net/ipv4/ipmr.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ipmr.c
b/net/ipv4/ipmr.c
index a0a5def920fc21dd46e5fa8d0fb7423a35875951..075bc695ae34c7a960894fee72ec46fb3416d725 100644
(file)
--- 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;
}