]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e5e68499adcd65305ec6ace7af8c734e436b04c
tree867a57ddd7013409c517d5179ddf0ac637e7b9db
parent0f3cc59f99546442977b65b26411415061edaeaa
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