OSDN Git Service

ath10k: disable napi before resource cleanup to avoid "use after free"
authorGovind Singh <govinds@codeaurora.org>
Thu, 20 Sep 2018 05:04:26 +0000 (10:34 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 14:04:34 +0000 (17:04 +0300)
commit393b9b0f830efc21c26a4ef9a9ce4d517eb98463
tree9e8738fe8a402bf8523246f5a06dc99356a23054
parent752ed2a229c62f9301b9ab91d04048402fab6ff8
ath10k: disable napi before resource cleanup to avoid "use after free"

CE buffers are cleaned up prior to napi disable and this is causing
NULL pointer dereference due to "use after free".

Disable napi before resource cleanup to avoid "use after free".

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/snoc.c