team: do RCU update path fixups
authorJiri Pirko <jpirko@redhat.com>
Wed, 20 Jun 2012 08:39:39 +0000 (08:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jun 2012 21:29:12 +0000 (14:29 -0700)
commit6dab015cf8c9d2fabb13d0332998bc440e9c6555
tree654ae3c37f5fe1a37677745204227b1152ab0965
parentf643776e4d1906ceff59f18315d6aba8e85db343
team: do RCU update path fixups

Use rcu_access_pointer and rcu_dereference_protected
to access RCU pointer by updater.
Use RCU_INIT_POINTER for NULL assignment of RCU pointer.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team_mode_activebackup.c
drivers/net/team/team_mode_loadbalance.c