aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTony Camuso <[email protected]>2015-04-30 11:51:27 +0000
committerDavid S. Miller <[email protected]>2015-04-30 20:37:29 +0000
commitc232d8a8bb1416f7ec21bb1aabc7c4ec8a5a899e (patch)
treee4e285dd32136cbc5d72718c42648d73cd629a01 /net/switchdev/switchdev.c
parentnet/mlx4_core: Fix unaligned accesses (diff)
downloadkernel-c232d8a8bb1416f7ec21bb1aabc7c4ec8a5a899e.tar.gz
kernel-c232d8a8bb1416f7ec21bb1aabc7c4ec8a5a899e.zip
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 <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions