vxlan: consolidate vxlan_xmit_skb and vxlan6_xmit_skb
authorJiri Benc <jbenc@redhat.com>
Tue, 2 Feb 2016 17:09:16 +0000 (18:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 18:51:00 +0000 (13:51 -0500)
commitf491e56dba511d318f52efa4c226471bf5943e88
tree867a57ddd7013409c517d5179ddf0ac637e7b9db
parentb4ed5cad24c1072033efbffa680c84c9ba19c798
vxlan: consolidate vxlan_xmit_skb and vxlan6_xmit_skb

There's a lot of code duplication. Factor out the duplicate code to a new
function shared between IPv4 and IPv6 xmit path.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c