[Bug 296498] ktls broken in 15.0-RELEASE-p10
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 296498] ktls broken in 15.0-RELEASE-p10"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jul 2026 20:01:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296498
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=815976ee14121bafe8a8ab002459d32f8928f2de
commit 815976ee14121bafe8a8ab002459d32f8928f2de
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-29 18:45:36 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-29 19:30:37 +0000
ktls: Propagate EPG_FLAG_ANON to mapped mbufs
Otherwise ktls_mbuf_crypto_state() will reject mbufs created by
_mb_unmapped_to_ext(), which arises when transmitting packets through an
interface that doesn't support unmapped mbufs, and the loopback
interface in particular.
PR: 296498
Fixes: 3444414cb463 ("ktls: Don't attempt to modify non-anonymous
mbufs on the receive path")
Reviewed by: gallatin, jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57557
sys/kern/kern_mbuf.c | 3 +++
sys/kern/uipc_ktls.c | 3 ++-
sys/sys/mbuf.h | 1 +
3 files changed, 6 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.