]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1cb153442e862c9ed7848836b49b4856a7483597
tree1abccd8c785a17aa7bcdea6f198d77d82982e511
parenta76ac447e637b7eaf7fe9fd5d349482d93c30041
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