Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2022 13:14:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [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
Message-ID:  <bug-264257-7501-8pRTBCP51u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264257-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264257-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264257

--- Comment #88 from Dobri Dobrev <ddobrev85@gmail.com> ---
Comment on attachment 236664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236664
Fix offset computation

The patch doesn't match with tcp_output.c in 13-stable.

        } else {
            len =3D ((int32_t)ulmin(cwin,
                SEQ_SUB(p->end, p->rxmit)));
        }
        off =3D SEQ_SUB(p->rxmit, tp->snd_una);
        KASSERT(off >=3D 0,("%s: sack block to the left of una : %d",
            __func__, off));
        if (len > 0) {
            sack_rxmit =3D 1;
            sendalot =3D 1;
            TCPSTAT_INC(tcps_sack_rexmits);
            TCPSTAT_ADD(tcps_sack_rexmit_bytes,
                min(len, tcp_maxseg(tp)));
        }

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264257-7501-8pRTBCP51u>