[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160629154712.95563613CE@smtp.codeaurora.org>
Date: Wed, 29 Jun 2016 15:47:12 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Pavel Andrianov <andrianov@...ras.ru>
Cc: Pavel Andrianov <andrianov@...ras.ru>,
libertas-dev@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org, vaishali.thakkar@...cle.com
Subject: Re: libertas: Add spinlock to avoid race condition
Pavel Andrianov <andrianov@...ras.ru> wrote:
> lbs_mac_event_disconnected may free priv->currenttxskb
> while lbs_hard_start_xmit accesses to it.
> The patch adds a spinlock for mutual exclusion.
>
> Tested on OLPC XO-1 (usb8388) and XO-1.5 (sd8686) with v4.7-rc3.
>
> Confirmed that lbs_mac_event_disconnected is being called on the
> station when hostapd on access point is given SIGHUP.
>
> Signed-off-by: Pavel <andrianov@...ras.ru>
> Tested-by: James Cameron <quozl@...top.org>
> Acked-by: Vaishali Thakkar <vaishali.thakkar@...cle.com>
Thanks, 1 patch applied to wireless-drivers-next.git:
f52b041aed77 libertas: Add spinlock to avoid race condition
--
Sent by pwcli
https://patchwork.kernel.org/patch/9178477/
Powered by blists - more mailing lists