vxlan: avoid checking socket multiple times.
authorpravin shelar <pshelar@ovn.org>
Mon, 14 Nov 2016 04:43:53 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 17:16:13 +0000 (12:16 -0500)
commit03dc52a86d58c70577d9f62527f68db9116f61a5
tree04c0b18a247c106481992bc7441c036b91be7483
parent4a4f86cc7d6bc74522f581341a2cae3119d5a0f5
vxlan: avoid checking socket multiple times.

Check the vxlan socket in vxlan6_getroute().

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