]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: Use kfree_skb() instead of kfree()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 Jan 2020 17:39:24 +0000 (20:39 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:19:51 +0000 (18:19 +0200)
commitbd3db6e0604fddc96d62f77ddf150ff8c99803d6
tree4d745685929c8657f0dbdac2c4bf237b46180725
parentc94fff59cd406e30b169543f230db595d83707f4
rtw88: Use kfree_skb() instead of kfree()

sk_buff structs need to be freed with kfree_skb(), not kfree().

Fixes: 39cdf914eb5c ("rtw88: Add wowlan net-detect support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.c