rtw88: assign NULL to skb after being kfree()'ed
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 20 Dec 2019 09:21:55 +0000 (17:21 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:38:13 +0000 (17:38 +0200)
commitf48abf064ade7a08015bc3a50a873437375843b2
tree1abccd8c785a17aa7bcdea6f198d77d82982e511
parentfc83c616d4d95c386e2bac7994b635b24662bca4
rtw88: assign NULL to skb after being kfree()'ed

Should assign NULL to skb after kfree(), in case of driver
trying to free the same skb again.

This could happen if driver failed to allocate an skb when
building reserved page.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.c