[Bug 272616] [panic] Reproducible kernel panic related to sendfile and IPSec

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 20 Jul 2023 15:07:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272616

Aleksandr Fedorov <afedorov@FreeBSD.org> changed:

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

--- Comment #14 from Aleksandr Fedorov <afedorov@FreeBSD.org> ---
The main problem is that we don’t know where the mbuf will fly from with the
M_EXTPG flag. Now it's an IPSEC, tomorrow something else. I think all functions
that work with mbuf's should correctly handle unmapped mbuf's.

But as a temporary patch, the solution proposed by kib@ is quite suitable.

And m_unshare() should handle unmapped mbuf's correctly.

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