mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									8602a62502
								
							
						
					
					
						commit
						74a0f2fe8e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue