]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
vxlan: move fdb code to common location in vxlan_xmit
authorJiri Benc <jbenc@redhat.com>
Tue, 5 Apr 2016 12:47:11 +0000 (14:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 20:50:32 +0000 (16:50 -0400)
commit47e5d1b06305e73afc917f47b65490adb06c7194
tree5014af6a2789349f6860cc6aca99cc23617384bc
parent0c867c9bf84ce2a998f83725bd363f66ce84d548
vxlan: move fdb code to common location in vxlan_xmit

Handle VXLAN_F_COLLECT_METADATA before VXLAN_F_PROXY. The latter does not
make sense with the former, as it needs populated fdb which does not happen
in metadata mode.

After this cleanup, the fdb code in vxlan_xmit is moved to a common location
and can be later skipped for VXLAN-GPE which does not necessarily carry
inner Ethernet header.

v2: changed commit description to not reference L3 mode

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c