net/ipv6: Do not reset nl_net in ip6_route_info_create
authorDavid Ahern <dsahern@gmail.com>
Wed, 29 Aug 2018 23:54:01 +0000 (16:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 06:04:52 +0000 (23:04 -0700)
commit1367bbf52a4355990f14e7e97cad708b2e266e65
treefdc58b558ee2158921e4d8d8807ce0cb83546fd6
parent066b1030088986e61326938d5b7694e72ff693f8
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>
net/ipv6/route.c