vxlan: fix rcu related warning
authorstephen hemminger <stephen@networkplumber.org>
Mon, 5 Aug 2013 00:17:39 +0000 (17:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 01:47:14 +0000 (18:47 -0700)
commit5ca5461c3ee8b306c04ac833e5eacb5755b85d88
tree4fda1c96a7c223d6d85d668b6bc0df01e65372ed
parent762a3d89ebf5873f71b3839449ac6562049ef1ce
vxlan: fix rcu related warning

Vxlan remote list is protected by RCU and guaranteed to be non-empty.
Split out the rcu and non-rcu access to the list to fix warning

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c