linux/drivers/net/wireless/realtek/rtlwifi
Larry Finger 8cfa272b0d rtlwifi: Fix leak of skb when processing C2H_BT_INFO
With commit 0a9f8f0a1b ("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: 0a9f8f0a1b ("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>
2018-12-13 15:35:07 +02:00
..
btcoexist rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface 2018-10-01 18:36:51 +03:00
rtl8188ee rtlwifi: remove set but unused variables 2018-09-04 11:17:43 +03:00
rtl8192c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rtl8192ce rtlwifi: remove unused fw C2H command ID 2018-05-29 10:16:47 +03:00
rtl8192cu rtlwifi: rtl8192cu: remove pointless memcpy 2018-02-27 18:17:59 +02:00
rtl8192de rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8192ee rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8192se rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8723ae rtlwifi: remove set but unused variables 2018-09-04 11:17:43 +03:00
rtl8723be rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8723com rtlwifi: fill FW version and subversion 2018-01-08 19:08:00 +02:00
rtl8821ae rtlwifi: rtl8821ae: replace _rtl8821ae_mrate_idx_to_arfr_id with generic version 2018-10-13 15:00:37 +03:00
base.c rtlwifi: Fix leak of skb when processing C2H_BT_INFO 2018-12-13 15:35:07 +02:00
base.h rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
cam.c rtlwifi: Fix programing CAM content sequence. 2017-02-07 09:25:08 +02:00
cam.h
core.c rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-06-29 10:08:47 +03:00
core.h
debug.c rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
debug.h rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
efuse.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
efuse.h rtlwifi: add efuse ops for other components 2018-02-27 18:15:25 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
pci.h rtlwifi: cleanup the code that check whether TX ring is available 2017-12-07 15:14:52 +02:00
ps.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
ps.h rtlwifi: Remove unused parameter from rtl_ps_set_rf_state() 2016-07-05 17:31:41 +03:00
pwrseqcmd.h
rc.c rtlwifi: Fix VHT NSS in RC 2018-02-27 18:15:23 +02:00
rc.h
regd.c rtlwifi: fix spelling mistake: "conuntry" -> "country" 2017-03-08 17:07:32 +02:00
regd.h
stats.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
stats.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
usb.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
usb.h rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
wifi.h rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h 2018-10-05 11:31:52 +03:00