Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1545789
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: rtlwifi: Fix kernel oops introduced with commit e49656147359 |
| Date | 2016-12-21 15:40 +0100 |
| Message-ID | <sQQdI-4Cy-15@gated-at.bofh.it> (permalink) |
| References | <sQivo-7Nz-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Larry Finger <Larry.Finger@lwfinger.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@lwfinger.net>
> Cc: Stable <stable@vger.kernel.org> # 4.9+
> Cc: Wei Yongjun <weiyongjun1@huawei.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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] rtlwifi: Fix kernel oops introduced with commit e49656147359 Larry Finger <Larry.Finger@lwfinger.net> - 2016-12-20 03:40 +0100
Re: [PATCH] rtlwifi: Fix kernel oops introduced with commit e49656147359 Kalle Valo <kvalo@codeaurora.org> - 2016-12-20 12:30 +0100
Re: [PATCH] rtlwifi: Fix kernel oops introduced with commit e49656147359 Larry Finger <Larry.Finger@lwfinger.net> - 2016-12-20 16:30 +0100
Re: rtlwifi: Fix kernel oops introduced with commit e49656147359 Kalle Valo <kvalo@codeaurora.org> - 2016-12-21 15:40 +0100
csiph-web