vxlan: move inner L2 header processing to a separate function
authorJiri Benc <jbenc@redhat.com>
Tue, 23 Feb 2016 17:02:56 +0000 (18:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 20:17:11 +0000 (15:17 -0500)
commit1ab016e237e7d0734fb7adbbfe6d4cacb3520421
treed7c134822db274d438fffd1f261a11dbaeaae5f1
parent64f87d3616a01c53262c6e0e948d62df15923f1c
vxlan: move inner L2 header processing to a separate function

This code will be different for VXLAN-GPE, so move it to a separate
function. It will also make the rx path less spaghetti-like.

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