commit | 367525c8c20a34560afe1d0c7cca52a44ccd62e9 | [log] [tgz] |
---|---|---|
author | Alexander Stein <alexander.stein@systec-electronic.com> | Tue Apr 15 16:51:04 2014 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Apr 24 22:32:41 2014 +0200 |
tree | a3b6a6a27106b2776af034c87b4d0f2bc2c6ec42 | |
parent | d482443244b820f03a5a07d1bca6a0f5e2b4804c [diff] |
can: slcan: Fix spinlock variant slc_xmit is called within softirq context and locks sl->lock, but slcan_write_wakeup is not softirq context, so we need to use spin_[un]lock_bh! Detected using kernel lock debugging mechanism. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>