]> 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)
commita3a3884fc5a03c77c8f69818d143769976640815
tree758892ea343bfcd9c93c87b198dc6ba8d6ce4328
parent65e85c4a3f1b63641b5a8efbfa315e664697a6e0
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: 90ef35c5364 ("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