Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74a0f2fe authored by Roopa Prabhu's avatar Roopa Prabhu Committed by David S. Miller
Browse files

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: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8602a625
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1780,6 +1780,7 @@ int ip6_route_add(struct fib6_config *cfg)
			goto out;
		lwtunnel_state_get(lwtstate);
		rt->rt6i_lwtstate = lwtstate;
		rt->dst.output = lwtunnel_output6;
	}

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