[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161221143520.5873D61662@smtp.codeaurora.org>
Date: Wed, 21 Dec 2016 14:35:20 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org,
Larry Finger <Larry.Finger@...inger.net>,
linux-kernel@...r.kernel.org, driver-devel@...r.kernel.org,
Stable <stable@...r.kernel.org>,
Wei Yongjun <weiyongjun1@...wei.com>
Subject: Re: rtlwifi: Fix kernel oops introduced with commit e49656147359
Larry Finger <Larry.Finger@...inger.net> wrote:
> With commit e49656147359 {"rtlwifi: Use dev_kfree_skb_irq instead of
> kfree_skb"), the method used to free an skb was changed because the
> kfree_skb() was inside a spinlock. What was forgotten is that kfree_skb()
> guards against a NULL value for the argument. Routine dev_kfree_skb_irq()
> does not, and a test is needed to prevent kernel panics.
>
> Fixes: e49656147359 ("rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb")
> Signed-off-by: Larry Finger <Larry.Finger@...inger.net>
> Cc: Stable <stable@...r.kernel.org> # 4.9+
> Cc: Wei Yongjun <weiyongjun1@...wei.com>
Patch applied to wireless-drivers.git, thanks.
22b68b93ae25 rtlwifi: Fix kernel oops introduced with commit e49656147359
--
https://patchwork.kernel.org/patch/9481055/
Documentation about submitting wireless patches and checking status
from patchwork:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists