net: vxlan: lwt: Fix vxlan local traffic.
authorpravin shelar <pshelar@ovn.org>
Sat, 6 Aug 2016 00:45:37 +0000 (17:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 21:16:24 +0000 (14:16 -0700)
commitbbec7802c6948c8626b71a4fe31283cb4691c358
tree758892ea343bfcd9c93c87b198dc6ba8d6ce4328
parent272d96a5ab10662691b4ec90c4a66fdbf30ea7ba
net: vxlan: lwt: Fix vxlan local traffic.

vxlan driver has bypass for local vxlan traffic, but that
depends on information about all VNIs on local system in
vxlan driver. This is not available in case of LWT.
Therefore following patch disable encap bypass for LWT
vxlan traffic.

Fixes: ee122c79d42 ("vxlan: Flow based tunneling").
Reported-by: Jakub Libosvar <jlibosva@redhat.com>
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c