vxlan: simplify vxlan xmit
authorpravin shelar <pshelar@ovn.org>
Mon, 14 Nov 2016 04:43:57 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 17:16:13 +0000 (12:16 -0500)
commit0770b53bd276a7b7846a185ec8a8f1188f135f7f
treead92f76aa3bebf4efea7f2235649ff02748376fe
parentfee1fad7c73dd006f50115ddc538a2e20f3b0c6c
vxlan: simplify vxlan xmit

Existing vxlan xmit function handles two distinct cases.
1. vxlan net device
2. vxlan lwt device.
By seperating initialization these two cases the egress path
looks better.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c