diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 908f7ef2f12a1b27f033ed3600f5a2039b1bb0a8..18fd7c9095c706c13240b4624aa291ead0b0171a 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2022,6 +2022,8 @@ static struct rtable *__mkroute_output(const struct fib_result *res, } rt_set_nexthop(rth, fl4->daddr, res, fnhe, fi, type, 0); + if (lwtunnel_output_redirect(rth->rt_lwtstate)) + rth->dst.output = lwtunnel_output; return rth; }