]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08ff312c6d227c0f41cd0b6ca25ac432d68e7e0a
tree758892ea343bfcd9c93c87b198dc6ba8d6ce4328
parent96eb029d59cbb92870a45fec09d862b0e81965fc
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: e6df12b2bb0 ("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