[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140427.233556.452938883341708431.davem@davemloft.net>
Date: Sun, 27 Apr 2014 23:35:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: nautsch2@...il.com, netdev@...r.kernel.org,
linux-can@...r.kernel.org, alexander.stein@...tec-electronic.com
Subject: Re: [PATCH] slip: fix spinlock variant
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Sat, 26 Apr 2014 21:18:32 +0200
> 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@...tkopp.net>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists