diff options
author | Eric Dumazet <edumazet@google.com> | 2014-07-15 06:56:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-15 17:49:41 -0700 |
commit | c2646b593eb127adc50e108649e4d34144e14c6c (patch) | |
tree | f4d5f0021ff65b54e41c32954d0bb6b940c10196 /drivers/net/bonding/bonding.h | |
parent | e965f8049460569bab12fe7bb5381bb2279712e2 (diff) | |
download | linux-c2646b593eb127adc50e108649e4d34144e14c6c.tar.gz linux-c2646b593eb127adc50e108649e4d34144e14c6c.tar.bz2 linux-c2646b593eb127adc50e108649e4d34144e14c6c.zip |
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>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
0 files changed, 0 insertions, 0 deletions