]> git.baikalelectronics.ru Git - kernel.git/commit
staging/wlan-ng: get the correct struct hfa384x in work callback
authorDavidlohr Bueso <dave@stgolabs.net>
Wed, 29 Jun 2022 16:52:25 +0000 (09:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jul 2022 07:58:58 +0000 (09:58 +0200)
commitc325f3613a8d7dfd6e8b3eb18172b61f2f0a5486
treebf763b9855142ade5eb270d327e60958a81b64db
parent08aafa0d475a08e31a13403e9df41c7179f4bdcd
staging/wlan-ng: get the correct struct hfa384x in work callback

hfa384x_usbctlx_completion_task() is bogusly using the reaper BH when
in fact this is the completion_bh. This was reflected when trying
to acquire the hw->ctlxq.lock and getting a failed lockdep class
initialized to it.

Fixes: 9daa93826271 ("staging/wlan-ng, prism2usb: replace completion_bh tasklet with work")
Reported-by: syzbot+ce3408364c4a234dd90c@syzkaller.appspotmail.com
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/20220629165225.3436822-1-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c