[lvc-project] [PATCH 1/2] HID: roccat: fix locking in roccat_connect() and roccat_disconnect()
Jiri Kosina
jikos at kernel.org
Fri Sep 11 18:32:29 MSK 2026
On Wed, 2 Sep 2026, Dmitry Antipov wrote:
> Extend critical section in roccat_connect() to ensure that partially
> initialized 'struct roccat_device' is never exposed in 'devices' list,
> and do the same in roccat_disconnect() to avoid racy 'devices' access
> against roccat_release().
>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
I have applied this one.
I believe the issues that Sashiko pointed out with 2/2 are real, so please
fix them and resubmit separately.
Thanks,
--
Jiri Kosina
SUSE Labs
More information about the lvc-project
mailing list