diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2014-04-26 21:18:32 +0200 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-29 11:49:24 +0200 |
commit | 742bc1c6e156d8f55a23f39f7c6ddfd3ede7daa7 (patch) | |
tree | 854204985dcc0925b7059bb9d1b3bfeadad2d413 /scripts/docproc.c | |
parent | 692e923edc0bb0d58001c89d549df664ca909a2e (diff) | |
download | lwn-742bc1c6e156d8f55a23f39f7c6ddfd3ede7daa7.tar.gz lwn-742bc1c6e156d8f55a23f39f7c6ddfd3ede7daa7.zip |
slip: fix spinlock variant
[ Upstream commit ddcde142bed44490e338ed1124cb149976d355bb ]
With commit cc9fa74e2a ("slip/slcan: added locking in wakeup function") a
formerly missing locking was added to slip.c and slcan.c by Andre Naujoks.
Alexander Stein contributed the fix 367525c8c2 ("can: slcan: Fix spinlock
variant") as the kernel lock debugging advised to use spin_lock_bh() instead
of just using spin_lock().
This fix has to be applied to the same code section in slip.c for the same
reason too.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions