|
@@ -255,7 +255,7 @@ static inline void ip_route_connect_init(struct flowi4 *fl4, __be32 dst, __be32
|
|
|
flow_flags |= FLOWI_FLAG_ANYSRC;
|
|
|
|
|
|
if (netif_index_is_vrf(sock_net(sk), oif))
|
|
|
- flow_flags |= FLOWI_FLAG_VRFSRC;
|
|
|
+ flow_flags |= FLOWI_FLAG_VRFSRC | FLOWI_FLAG_SKIP_NH_OIF;
|
|
|
|
|
|
flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE,
|
|
|
protocol, flow_flags, dst, src, dport, sport);
|