]> git.baikalelectronics.ru Git - kernel.git/commit
net: vxlan: lwt: Use source ip address during route lookup.
authorpravin shelar <pshelar@ovn.org>
Sat, 6 Aug 2016 00:45:36 +0000 (17:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 21:16:23 +0000 (14:16 -0700)
commit65e85c4a3f1b63641b5a8efbfa315e664697a6e0
tree4ca4c149394c5ee71201c7843345be46560030db
parent70b62880d3d710d8f2f37f045665de3e858687aa
net: vxlan: lwt: Use source ip address during route lookup.

LWT user can specify destination as well as source ip address
for given tunnel endpoint. But vxlan is ignoring given source
ip address. Following patch uses both ip address to route the
tunnel packet. This consistent with other LWT implementations,
like GENEVE and GRE.

Fixes: 90ef35c5364 ("vxlan: Flow based tunneling").
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