diff options
author | Eric Dumazet | 2014-07-15 15:56:54 +0200 |
---|---|---|
committer | David S. Miller | 2014-07-16 02:49:41 +0200 |
commit | c2646b593eb127adc50e108649e4d34144e14c6c (patch) | |
tree | f4d5f0021ff65b54e41c32954d0bb6b940c10196 /drivers/net/bonding/bond_main.c | |
parent | bonding: get rid of bond_option_active_slave_get() (diff) | |
download | kernel-qcow2-linux-c2646b593eb127adc50e108649e4d34144e14c6c.tar.gz kernel-qcow2-linux-c2646b593eb127adc50e108649e4d34144e14c6c.tar.xz kernel-qcow2-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/bond_main.c')
0 files changed, 0 insertions, 0 deletions