[NETNS]: Add namespace parameter to __ip_route_output_key.
This is only required to propagate it down to the ip_route_output_slow. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b40afd0e5c
commit
611c183ebc
@@ -36,7 +36,7 @@ static struct dst_entry *xfrm4_dst_lookup(int tos, xfrm_address_t *saddr,
|
||||
if (saddr)
|
||||
fl.fl4_src = saddr->a4;
|
||||
|
||||
err = __ip_route_output_key(&rt, &fl);
|
||||
err = __ip_route_output_key(&init_net, &rt, &fl);
|
||||
dst = &rt->u.dst;
|
||||
if (err)
|
||||
dst = ERR_PTR(err);
|
||||
|
Reference in New Issue
Block a user