Skip to content

Commit 74a0f2f

Browse files
roopa-prabhudavem330
authored andcommitted
ipv6: rt6_info output redirect to tunnel output
This is similar to ipv4 redirect of dst output to lwtunnel output function for encapsulation and xmit. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8602a62 commit 74a0f2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv6/route.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,7 @@ int ip6_route_add(struct fib6_config *cfg)
17801780
goto out;
17811781
lwtunnel_state_get(lwtstate);
17821782
rt->rt6i_lwtstate = lwtstate;
1783+
rt->dst.output = lwtunnel_output6;
17831784
}
17841785

17851786
ipv6_addr_prefix(&rt->rt6i_dst.addr, &cfg->fc_dst, cfg->fc_dst_len);

0 commit comments

Comments
 (0)