summaryrefslogtreecommitdiffstats
path: root/samples/v4l
diff options
context:
space:
mode:
authorYan-Hsuan Chuang <yhchuang@realtek.com>2020-01-07 16:08:07 +0800
committerKalle Valo <kvalo@codeaurora.org>2020-01-26 17:42:31 +0200
commitf4f84ff8377d4cedf18317747bc407b2cf657d0f (patch)
tree904e494898ef8d2ed34450873e13077b542d968f /samples/v4l
parent20f2c5fa3af060401c72e444999470a4cab641cf (diff)
downloadlinux-f4f84ff8377d4cedf18317747bc407b2cf657d0f.tar.gz
linux-f4f84ff8377d4cedf18317747bc407b2cf657d0f.tar.bz2
linux-f4f84ff8377d4cedf18317747bc407b2cf657d0f.zip
rtw88: fix potential NULL skb access in TX ISR
Sometimes the TX queue may be empty and we could possible dequeue a NULL pointer, crash the kernel. If the skb is NULL then there is nothing to do, just leave the ISR. And the TX queue should not be empty here, so print an error to see if there is anything wrong for DMA ring. Fixes: e3037485c68e ("rtw88: new Realtek 802.11ac driver") Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions