[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161014.100203.681553712270913922.davem@davemloft.net>
Date: Fri, 14 Oct 2016 10:02:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: junk@...dex-team.ru
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] ip6_tunnel: fix ip6_tnl_lookup
From: Vadim Fedorenko <junk@...dex-team.ru>
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 on source or destination address of the packet
> and not checking presence of wildcard in tunnels endpoints. Later in
> ip6_tnl_rcv this packets can be dicarded because of difference in
> ipproto even if fallback device have proper ipproto configuration.
>
> This patch adds checks of wildcard endpoint in tunnel avoiding such
> behavior
>
> Fixes: ea3dc9601bda ("ip6_tunnel: Add support for wildcard tunnel
> endpoints.")
>
> Signed-off-by: Vadim Fedorenko <junk@...dex-team.ru>
Applied and queued up for -stable.
Powered by blists - more mailing lists