[Bug 264257] [tcp] Panic: Fatal trap 12: page fault while in kernel mode (if_io_tqg_4) - m_copydata ... at /usr/src/sys/kern/uipc_mbuf.c:659

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Jun 2022 21:00:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264257

--- Comment #35 from Richard Scheffenegger <rscheff@freebsd.org> ---
(In reply to iron.udjin from comment #31)
Try the patch attached just now, which should apply cleanly.

Note that if the hypothesis about snd_max getting infrequently incremented
twice holds, you may observe more frequent panics in an INVARIANTS kernel -
prior to these added checks, that oddity would not materially affect the tcp
session. Only the new feature of SACK rescue retransmissions - which should
also happen very infrequently at the same time as a FIN bit - exposed this.

In that case, you may want to switch to a kernel without the INVARIANTS (which
would still log those occurances, but not panic), or the default 13.1-RELEASE
kernel with rfc6675_pipe disabled (to disable rescue retransmissions) for
stable operation.

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