]> 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)
commit252eea0e39a23dd78dcaebdd420e8978bfa5300c
tree867a57ddd7013409c517d5179ddf0ac637e7b9db
parent449a1b4572671370cd109caa9f2df2f53173ec42
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