]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit788394442110b40cbd59a131cf616126d5d19999
treef84575fd40f7a900e7149afc629aa0f56c044b62
parentb60f024a7d956d8adbc4f2ac6f0e55e70768abce
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