[Bug 255131] kernel panic using zfs on shsec

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Jan 2022 16:00:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255131

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
Created attachment 231358
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231358&action=edit
proposed patch

The problem really appears to be that shsec erroneously allocates a buffer for
BIO_FLUSH commands that get sent to child providers.  It should only be doing
this for reads and writes, so the attached patch is sufficient, I believe.

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