commit | c2646b593eb127adc50e108649e4d34144e14c6c | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Jul 15 06:56:54 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 15 17:49:41 2014 -0700 |
tree | f4d5f0021ff65b54e41c32954d0bb6b940c10196 | |
parent | e965f8049460569bab12fe7bb5381bb2279712e2 [diff] |
bonding: use rcu_access_pointer() in bonding_show_mii_status() curr_active_slave is rcu protected, and bonding_show_mii_status() only wants to check if pointer is NULL or not. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Veaceslav Falico <vfalico@gmail.com> Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>