Subject: Re: [PATCH net] vxlan: don't allow overwrite of config src addr

From: Jiri Benc <[email-masked]>
Date: Thu, 23 Feb 2017 17:03:29 +0100

On Mon, 20 Feb 2017 17:25:28 +0000, 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,
> 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.

Seems there were another patches applied between the time you created
the patch and sent it and it doesn't apply.

Feel free to add to v2:

Acked-by: Jiri Benc <[email-masked]>

 Jiri