linux/drivers/net
Jiri Benc 9dc2ad1008 vxlan: set needed headroom correctly
vxlan_setup is called when allocating the net_device, i.e. way before
vxlan_newlink (or vxlan_dev_configure) is called. This means
vxlan->default_dst is actually unset in vxlan_setup and the condition that
sets needed_headroom always takes the else branch.

Set the needed_headrom at the point when we have the information about
the address family available.

Fixes: e4c7ed4153 ("vxlan: add ipv6 support")
Fixes: 2853af6a2e ("vxlan: use dev->needed_headroom instead of dev->hard_header_len")
CC: Cong Wang <cwang@twopensource.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 22:32:15 -07:00
..
appletalk
arcnet ARCNET: fix hard_header_len limit 2015-09-17 22:26:55 -07:00
bonding Changes for 4.3 2015-09-09 08:33:31 -07:00
caif
can
cris
dsa net: dsa: bcm_sf2: Fix 64-bits register writes 2015-09-09 14:14:22 -07:00
ethernet net: ks8851: Export OF module alias information 2015-09-17 21:24:02 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
irda irda: ali-ircc: Fix deadlock in ali_ircc_sir_change_speed() 2015-09-11 16:18:33 -07:00
phy add microchip LAN88xx phy driver 2015-09-09 17:19:14 -07:00
plip
ppp
slip
team
usb r8152: fix the runtime suspend issues 2015-09-09 20:27:54 -07:00
vmxnet3
wan net: wan: sbni: fix device usage count 2015-09-05 17:32:53 -07:00
wimax
wireless drivers/net/wireless/ath/wil6210: use seq_hex_dump() to dump buffers 2015-09-10 13:29:01 -07:00
xen-netback xen: MFN/GFN/BFN terminology changes for 4.3-rc0 2015-09-10 16:21:11 -07:00
dummy.c
eql.c
geneve.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
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
tun.c
veth.c
virtio_net.c
vrf.c net: Fix vti use case with oif in dst lookups 2015-09-17 16:36:34 -07:00
vxlan.c vxlan: set needed headroom correctly 2015-09-17 22:32:15 -07:00
xen-netfront.c xen: MFN/GFN/BFN terminology changes for 4.3-rc0 2015-09-10 16:21:11 -07:00