From: David Miller <davem@davemloft.net>
To: junk@yandex-team.ru
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] ip6_tunnel: fix ip6_tnl_lookup
Date: Fri, 14 Oct 2016 10:02:03 -0400 (EDT) [thread overview]
Message-ID: <20161014.100203.681553712270913922.davem@davemloft.net> (raw)
In-Reply-To: <20161011203454.F2B87341C3E@junk-ub14>
From: Vadim Fedorenko <junk@yandex-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@yandex-team.ru>
Applied and queued up for -stable.
prev parent reply other threads:[~2016-10-14 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 19:47 [PATCH net] ip6_tunnel: fix ip6_tnl_lookup Vadim Fedorenko
2016-10-14 14:02 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161014.100203.681553712270913922.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=junk@yandex-team.ru \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).