From nobody Wed Feb 28 00:26:57 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TkwCP2lXdz5C1PR for ; Wed, 28 Feb 2024 00:26:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TkwCP09gYz4Vfp for ; Wed, 28 Feb 2024 00:26:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709080017; a=rsa-sha256; cv=none; b=ygu1KyGTgC2drQcotUjOLCp2X2T8NxVl4AeLjjWxikdgao/WqjOc0nhLVeXSr5feTtMZfk RgKijkjWiKXlpaSg5IiQn701BoXy/aVn3IP3SUCNTCJZ3YyWk78A9uiPFkTZLWKBtP+Y7g ePWAT0iT0FzfzXqjqseVYeDTBlbKpGBDiZBGB4mUS//ld4LK1arQjAuXghUkWno8+FPs5w IIA8mj4/2MTnw2nIiIhEOI/03NuxOC4ddJS4P2UY+dx9TkGeIC7YV6i+PzUKpFwK+uUteI A1UcYMkEWxxBq4+Ikm3wmYllMryqjbr2OylI91Gi3qFAnPK4qwpGyYzlSai1Dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709080017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o6GLkOCMKI/62RltEKJe4Xuc0KcW0Rj+vh74WHWxM90=; b=EeCRwZopzz/O03/i6yJS5wJ0Nem7eQakwPKIACvoNuSjR6vMMwEMrVVQYRohJvSYermd8l DrkbA10G50SPW1joKm2o4ELH7H1RTFDLiutmRuYlfiT0ST/7hYWeJwKmp0vUxY8hBZMWc8 V6740iRbyamk3yoIXb/J3WsorkbUhSdlVco0+OtC9KrDP1rStFGDdNpT1wyQUMmof4C2lb Pbeeh74oDX35QFlg34Kc70F0iI6H3pqE9M3bQ6dguggQcktf0bchYVBCRWasBBHP0z//bj oCmck7pZpBqD+g97Zgm3BZD9yeM4z5kts9ikbIYHeKPlv6f87O5+kX2HG1a6vw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TkwCN6P8jzbFR for ; Wed, 28 Feb 2024 00:26:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41S0QusK024419 for ; Wed, 28 Feb 2024 00:26:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41S0QuUV024413 for net@FreeBSD.org; Wed, 28 Feb 2024 00:26:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 276674] [panic] [htcp] sysctl net.inet.tcp.cc.algorithm=htcp produces kernel panic Date: Wed, 28 Feb 2024 00:26:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276674 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6e298c3612da3d04a75d380cf457774cb= 1a25a47 commit 6e298c3612da3d04a75d380cf457774cb1a25a47 Author: Richard Scheffenegger AuthorDate: 2024-02-24 15:35:23 +0000 Commit: Richard Scheffenegger CommitDate: 2024-02-28 00:21:47 +0000 tcp: prevent div by zero in cc_htcp Make sure the divident is at least one. While cwnd should never be smaller than t_maxseg, this can happen during Path MTU Discovery, or when TCP options are considered in other parts of the stack. PR: 276674 MFC after: 3 days Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D43797 (cherry picked from commit 38983d40c18ec5705dcba19ac320b86c5efe8e7e) sys/netinet/cc/cc_htcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=