Re: [PATCH] netxen_nic: use spin_[un]lock_bh around tx_clean_lock

From: David Miller
Date: Thu Apr 30 2015 - 16:37:52 EST


From: Tony Camuso <tcamuso@xxxxxxxxxx>
Date: Thu, 30 Apr 2015 07:51:27 -0400

> 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@xxxxxxxxxx>

Applied, thanks Tony.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/