https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273289

--- Comment #14 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b064a4c9eed5b1dd2a40fc4fd2cb7e738b681547

commit b064a4c9eed5b1dd2a40fc4fd2cb7e738b681547
Author:     John F. Carr <[email protected]>
AuthorDate: 2023-10-19 03:02:42 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2023-10-19 03:06:40 +0000

    smartpqi: Drop spinlock before freeing memory

    pqisrc_free_device frees the device softc with the os spinlock
    held. This causes crashes when devices are removed because the memory
    free might sleep (which is prohibited with spin locks held). Drop the
    spinlock before releasing the memory.

    MFC After: 2 days
    PR: 273289
    Reviewed by: imp

 sys/dev/smartpqi/smartpqi_discovery.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to