opnsense-src/sys/dev/mrsas
Mark Johnston 29de7af6ee mrsas: Fix callout locking in mrsas_complete_cmd()
callout_stop() requires the associated lock to be held.

This is a bit hacky, but I believe it's safe since the subsequent
mrsas_cmd_done() call will also acquire the SIM lock to stop a different
callout.

PR:		265484
Reviewed by:	imp
Tested by:	Jérémie Jourdin <jeremie.jourdin@advens.fr>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D39559

(cherry picked from commit 4640df1b0a49697840b81f6bcd269a483514c6aa)
2023-10-14 11:29:11 -04:00
..
mrsas.c mrsas: Fix callout locking in mrsas_complete_cmd() 2023-10-14 11:29:11 -04:00
mrsas.h sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mrsas_cam.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mrsas_fp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mrsas_ioctl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mrsas_ioctl.h sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mrsas_linux.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00