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

2017-02-23 Thread Jiri Benc
On Mon, 20 Feb 2017 17:25:28 +, Brian Russell wrote: > --- a/drivers/net/vxlan.c > +++ b/drivers/net/vxlan.c > @@ -2019,7 +2019,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct > net_device *dev, > > dst_port = rdst->remote_port ? rdst->remote_port : >

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

2017-02-23 Thread Jiri Benc
On Mon, 20 Feb 2017 17:25:28 +, 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

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

2017-02-20 Thread Brian Russell
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