diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2018-11-17 20:55:03 -0600 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-12-13 15:35:07 +0200 |
commit | 8cfa272b0d321160ebb5b45073e39ef0a6ad73f2 (patch) | |
tree | 48ad236bf67f47e9fcc4f9700136e15dc9b0d5e6 /drivers/net/wireless/marvell | |
parent | 2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff) |
rtlwifi: Fix leak of skb when processing C2H_BT_INFO
With commit 0a9f8f0a1ba9 ("rtlwifi: fix btmpinfo timeout while processing
C2H_BT_INFO"), calling rtl_c2hcmd_enqueue() with rtl_c2h_fast_cmd() true,
the routine returns without freeing that skb, thereby leaking it.
This issue has been discussed at https://github.com/lwfinger/rtlwifi_new/issues/401
and the fix tested there.
Fixes: 0a9f8f0a1ba9 ("rtlwifi: fix btmpinfo timeout while processing C2H_BT_INFO")
Reported-and-tested-by: Francisco Machado Magalhães Neto <franmagneto@gmail.com>
Cc: Francisco Machado Magalhães Neto <franmagneto@gmail.com>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Stable <stable@vger.kernel.org> # 4.18+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
0 files changed, 0 insertions, 0 deletions