commit | c44c040300d7afd79294710313a4989683e2afb1 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Wed Sep 28 18:18:23 2016 +0530 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Nov 09 03:33:25 2016 +0200 |
tree | 111821dc779464eae2887e515d496fc4992c8592 | |
parent | 5190f2e405919cd30ba2f12c58129fb2d71cd6b6 [diff] |
mwifiex: Fix NULL pointer dereference in skb_dequeue() At couple of places in cleanup path, we are just going through the skb queue and freeing them without unlinking. This leads to a crash when other thread tries to do skb_dequeue() and use already freed node. The problem is freed by unlinking skb before freeing it. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>