vxlan: convert remotes list to list_rcu
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Jun 2013 21:16:12 +0000 (14:16 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Jun 2013 15:40:32 +0000 (08:40 -0700)
commit3e61aa8f0a68e6e007c223688f442be04a44b0f4
tree2328d1a4f4e8b0c58b6a45ff14531c3644be3814
parent4ad169300a7350a034b86c543070aed109882a86
vxlan: convert remotes list to list_rcu

Based on initial work by Mike Rapoport <mike.rapoport@ravellosystems.com>
Use list macros and RCU for tracking multiple remotes.

Note: this code assumes list always has at least one entry,
because delete is not supported.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/vxlan.c