[Bug 268400] Page fault kernel panic with KTLS enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Jul 2023 18:53:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268400

--- Comment #29 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

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

commit db6978e02401cc3c1ea6e965fffd2482b1dd6461
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-06-23 13:55:43 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-07-07 18:46:41 +0000

    netinet6: Implement in6_cksum_partial() using m_apply()

    This ensures that in6_cksum_partial() can be applied to unmapped mbufs,
    which can happen at least when icmp6_reflect() quotes a packet.

    The basic idea is to restructure in6_cksum_partial() to operate on one
    mbuf at a time.  If the buffer length is odd or unaligned, an extra
    residual byte may be returned, to be incorporated into the checksum when
    processing the next buffer.

    PR:             268400
    Reviewed by:    cy
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D40598

    (cherry picked from commit 6775ef4188b4d4c023e76ebd2b71fa8c2c7e7cd2)

 sys/netinet6/in6.h       |   6 +-
 sys/netinet6/in6_cksum.c | 300 +++++++++++++++++++++--------------------------
 2 files changed, 139 insertions(+), 167 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.