Message ID | ec85c9cef76c5106822f3647eacca7b31e71abab.1436537414.git.tgraf@suug.ch |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index bfc0a18..d3964fa 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1634,6 +1634,8 @@ static int __mkroute_input(struct sk_buff *skb, rth->dst.output = ip_output; rt_set_nexthop(rth, daddr, res, fnhe, res->fi, res->type, itag); + if (lwtunnel_output_redirect(rth->rt_lwtstate)) + rth->dst.output = lwtunnel_output; skb_dst_set(skb, &rth->dst); out: err = 0;