commit 8cfa272b0d321160ebb5b45073e39ef0a6ad73f2
Author: Larry Finger <email address hidden>
Date: Sat Nov 17 20:55:03 2018 -0600
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.
Upstream commit:
commit 8cfa272b0d32116 0ebb5b45073e39e f0a6ad73f2
Author: Larry Finger <email address hidden>
Date: Sat Nov 17 20:55:03 2018 -0600
rtlwifi: Fix leak of skb when processing C2H_BT_INFO
With commit 0a9f8f0a1ba9 ("rtlwifi: fix btmpinfo timeout while processing enqueue( ) with rtl_c2h_fast_cmd() true,
C2H_BT_INFO"), calling rtl_c2hcmd_
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") and-tested- by: Francisco Machado Magalhães Neto <email address hidden>
Reported-