kernel_optimize_test/drivers/net
Brian Russell 1158632b5a vxlan: don't allow overwrite of config src addr
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 address 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.

Fixes: 272d96a5ab ("net: vxlan: lwt: Use source ip address during route lookup.")

Signed-off-by: Brian Russell <brussell@brocade.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-24 13:36:24 -05:00
..
appletalk
arcnet
bonding
caif
can
cris
dsa
ethernet net: stmmac: unify registers dumps methods 2017-02-24 11:42:33 -05:00
fddi
fjes
hamradio driver core patches for 4.11-rc1 2017-02-22 11:44:32 -08:00
hippi
hyperv char/misc driver patches for 4.11-rc1 2017-02-22 11:38:22 -08:00
ieee802154
ipvlan
irda
phy net: phy: Add missing driver check in phy_aneg_done() 2017-02-24 11:42:55 -05:00
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless Revert "ath10k: Search SMBIOS for OEM board file extension" 2017-02-21 15:59:45 -05:00
xen-netback Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-02-22 10:15:09 -08:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig vmxnet3: prevent building with 64K pages 2017-02-17 15:25:49 -05:00
LICENSE.SRC
loopback.c
macsec.c macsec: fix validation failed in asynchronous operation. 2017-02-21 13:13:51 -05:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c virtio-net: switch to use build_skb() for small buffer 2017-02-21 12:24:52 -05:00
vrf.c
vxlan.c vxlan: don't allow overwrite of config src addr 2017-02-24 13:36:24 -05:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-02-22 10:15:09 -08:00