[Bug 263008] smartpqi: panic: malloc(M_WAITOK) with sleeping prohibited

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jun 2022 17:08:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263008

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit f4497b9f77795ece4d2f2fad4c0329d82d53bc63
Author:     Yuri <yuri@aetern.org>
AuthorDate: 2022-06-27 15:48:31 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-06-27 17:06:31 +0000

    smartpqi: Allocate DMA memory NOWAIT

    We're not allowed to wait in this allocation path, so allocate the
    memory NOWAIT instead of WAITOK. The code already copes with the
    failures that may result, so no additional code is needed.

    PR: 263008
    Reviewed by: markj, Scott Benesh at Microsemi, imp
    Differential Revision: https://reviews.freebsd.org/D35601

 sys/dev/smartpqi/smartpqi_mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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