projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066b103
)
net/ipv6: Do not reset nl_net in ip6_route_info_create
author
David Ahern
<dsahern@gmail.com>
Wed, 29 Aug 2018 23:54:01 +0000
(16:54 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 1 Sep 2018 06:04:52 +0000
(23:04 -0700)
nl_net is set on entry to ip6_route_info_create. Only devices
within that namespace are considered so no need to reset it
before returning.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c
patch
|
blob
|
history
diff --git
a/net/ipv6/route.c
b/net/ipv6/route.c
index c4ea13e8360b9a399c811563165383e720c1cbb4..b5f385d2b0e96acffb8b8811f7a30b637a073e77 100644
(file)
--- a/
net/ipv6/route.c
+++ b/
net/ipv6/route.c
@@
-3138,8
+3138,6
@@
install_route:
rt->fib6_nh.nh_dev = dev;
rt->fib6_table = table;
- cfg->fc_nlinfo.nl_net = dev_net(dev);
-
if (idev)
in6_dev_put(idev);