]> 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)
commit96eb029d59cbb92870a45fec09d862b0e81965fc
tree4ca4c149394c5ee71201c7843345be46560030db
parente1005db573d0fb3624d914153b54e6a2fe32c912
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: e6df12b2bb0 ("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