mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
net/ipv6: Do not reset nl_net in ip6_route_info_create
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>
This commit is contained in:
parent
066b103008
commit
1367bbf52a
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue