bonding: add proper __rcu annotation for current_arp_slave
authorEric Dumazet <edumazet@google.com>
Tue, 15 Jul 2014 13:56:56 +0000 (06:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jul 2014 00:49:42 +0000 (17:49 -0700)
commit8574171833b24fda5101e1aa892a38c0d91d083e
treef84575fd40f7a900e7149afc629aa0f56c044b62
parent4740d6382790077f22c606d03804f5d9f15b90d7
bonding: add proper __rcu annotation for current_arp_slave

Using __rcu annotation actually helps to spot all accesses to
bond->current_arp_slave are correctly protected, with LOCKDEP support.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h