On Fri, Aug 28, 2015 at 11:48 AM, Jiri Benc <[email protected]> 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 <[email protected]>
> Acked-by: Alexei Starovoitov <[email protected]>
> ---
> v2: moved the af check in geneve before the first usage of tunnel info data
> ---
Acked-by: Pravin B Shelar <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html