diff options
author | Tony Camuso <tcamuso@redhat.com> | 2015-04-30 07:51:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-30 16:37:29 -0400 |
commit | c232d8a8bb1416f7ec21bb1aabc7c4ec8a5a899e (patch) | |
tree | e4e285dd32136cbc5d72718c42648d73cd629a01 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
parent | 17d5ceb6e43ea545d6d92db2f3ddb035233ba335 (diff) |
netxen_nic: use spin_[un]lock_bh around tx_clean_lock
While testing this driver with DEBUG_LOCKDEP and DEBUG_SPINLOCK
enabled did not produce any traces, it would be more prudent in the
case of tx_clean_lock to use spin_[un]lock_bh, since this lock is
manipulated in both the process and softirq contexts.
This patch was tested for functionality and regressions with netperf
and DEBUG_LOCKDEP and DEBUG_SPINLOCK enabled.
Signed-off-by: Tony Camuso <tcamuso@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
0 files changed, 0 insertions, 0 deletions