diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2014-04-26 21:18:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-27 23:35:12 -0400 |
commit | ddcde142bed44490e338ed1124cb149976d355bb (patch) | |
tree | 6717b36b0125f70df78388c73ab95c26b81fb60f /net | |
parent | df6d14ce98627835f8a518d72f0450b850cbe847 (diff) | |
download | linux-ddcde142bed44490e338ed1124cb149976d355bb.tar.bz2 |
slip: fix spinlock variant
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions