467fce636a
commit 89be8aa5b0ecb3b729c7bcff64bb2af7921fec63 upstream.
Turns out that I got my reference counts wrong and each successful
bus_find_device() actually calls get_device(), and we need to manually
call put_device().
Ensure each bus_find_device() gets a matching put_device() when releasing
the bpf programs and fix all the error paths.
Cc: <stable@vger.kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
entrypoints | ||
Kconfig | ||
Makefile | ||
hid_bpf_dispatch.c | ||
hid_bpf_dispatch.h | ||
hid_bpf_jmp_table.c |