vxlan: use ip_route_output
authorstephen hemminger <shemminger@vyatta.com>
Tue, 9 Oct 2012 20:35:48 +0000 (20:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:41:21 +0000 (22:41 -0400)
commitca78f18129999320466107887317b5d1c042accd
tree7834a3ceb007dd1efe7424bf9a883bdca1c074d7
parent321fb991399bd7b156f8b15a8acfa0c8622e3c68
vxlan: use ip_route_output

Select source address for VXLAN packet based on route destination
and don't lie to route code. VXLAN is not GRE.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c