summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/iscsi_tcp.h
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-09-17 16:11:10 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-18 07:32:15 +0200
commit9dc2ad1008c9f91f55ec6c89ec0f8639dfc91596 (patch)
treee487f939350690a11d37b015efc9118a15cc9413 /drivers/scsi/iscsi_tcp.h
parentMAINTAINERS: add arcnet and take maintainership (diff)
downloadlinux-9dc2ad1008c9f91f55ec6c89ec0f8639dfc91596.tar.xz
linux-9dc2ad1008c9f91f55ec6c89ec0f8639dfc91596.zip
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: e4c7ed415387c ("vxlan: add ipv6 support") Fixes: 2853af6a2ea1a ("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>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
0 files changed, 0 insertions, 0 deletions