vxlan: Fix bug introduced by commit acbf74a76300
authorAndy Zhou <azhou@nicira.com>
Tue, 23 Sep 2014 08:44:51 +0000 (01:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2014 19:32:10 +0000 (15:32 -0400)
Commit acbf74a76300 ("vxlan: Refactor vxlan driver to make use of the common UDP tunnel functions." introduced a bug in vxlan_xmit_one()
function, causing it to transmit Vxlan packets without proper
Vxlan header inserted. The change was not needed in the first
place. Revert it.

Reported-by: Tom Herbert <therbert@google.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c

Simple merge