From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Brian Russell <brussell@brocade.com>, netdev@vger.kernel.org
Subject: Re: [PATCH net] Don't allow overwrite of config src addr
Date: Mon, 20 Feb 2017 22:35:20 +0300 [thread overview]
Message-ID: <58ee16db-7ab5-408d-46f6-371f04dce8d2@cogentembedded.com> (raw)
In-Reply-To: <1487610234-8239-1-git-send-email-brussell@brocade.com>
Hello!
On 02/20/2017 08:03 PM, Brian Russell wrote:
> When using IPv6 transport and a default dst, a pointer to the configured
> source address is passed into the route lookup. If no source address is
> configured, then the value is overwritten.
>
> IPv6 route lookup ignores egress ifindex match if the source adress is set,
Address. Perhaps can be fixed while applying?
> so if egress ifindex match is desired, the source address must be passed
> as any. The overwrite breaks this for subsequent lookups.
>
> Avoid this by copying the configured address to an existing stack variable
> and pass a pointer to that instead.
>
> Signed-off-by: Brian Russell <brussell@brocade.com>
[...]
MBR, Sergei
next prev parent reply other threads:[~2017-02-20 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 17:03 [PATCH net] Don't allow overwrite of config src addr Brian Russell
2017-02-20 19:35 ` Sergei Shtylyov [this message]
2017-02-21 17:23 ` David Miller
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=58ee16db-7ab5-408d-46f6-371f04dce8d2@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=brussell@brocade.com \
--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).