Re: [PATCH net] ip6_tunnel: fix ip6_tnl_lookup

2016-10-14 Thread David Miller
From: Vadim Fedorenko Date: Tue, 11 Oct 2016 22:47:20 +0300 > The commit ea3dc9601bda ("ip6_tunnel: Add support for wildcard tunnel > endpoints.") introduces support for wildcards in tunnels endpoints, > but in some rare circumstances ip6_tnl_lookup selects wrong tunnel > interface relying only o

[PATCH net] ip6_tunnel: fix ip6_tnl_lookup

2016-10-11 Thread Vadim Fedorenko
The commit ea3dc9601bda ("ip6_tunnel: Add support for wildcard tunnel endpoints.") introduces support for wildcards in tunnels endpoints, but in some rare circumstances ip6_tnl_lookup selects wrong tunnel interface relying only on source or destination address of the packet and not checking presenc