On Fri, Aug 28, 2015 at 04:27:26PM +0200, Jiri Benc wrote: > There's currently nothing preventing directing packets with IPv6 > encapsulation data to IPv4 tunnels (and vice versa). If this happens, > IPv6 addresses are incorrectly interpreted as IPv4 ones. > > Track whether the given ip_tunnel_key contains IPv4 or IPv6 data. Store this > in ip_tunnel_info. Reject packets at appropriate places if they are supposed > to be encapsulated into an incompatible protocol. > > Signed-off-by: Jiri Benc <jb...@redhat.com>
Acked-by: Alexei Starovoitov <a...@plumgrid.com> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html