From nobody Wed Jan 21 19:52:26 2026 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 4dxFGN201vz6Pf2D for ; Wed, 21 Jan 2026 19:52:28 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxFGL2BLHz3JjZ for ; Wed, 21 Jan 2026 19:52:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769025146; 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=rhzDcDTp9b7gMO9TEkQe2hOHa4hfYLpSwnG57LoTH7M=; b=xYHPPNB/2w8Hk42VjA3xa+SCVme8UOj0xkpIEl7wobIgumqthZSaYqSrQMGoMMm4vHwRIk l2QclZIhHo/kSMm2f6ohUQa8tUSWjCpiPOkwvQIouWow414aaXvxKLjMQknFdl49ZGBHC9 0S7lOQsJT+JNHBzJ94aEWbazSmOny1Rk927G06AgiP/W6jdtL20yE2AWzSycsBJosqf15Q QL/NfP5DBleeySYU4VUEHW9j8zLiPvou64arZYPNh77IqCDkks3fbMW4ZNgsRpTfV9Os9c DRkLC/GJhqVDCpr3RStTY2IcDb7tR0h1strrJNHWg/xN6+SVEbJVr4C/3sylJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769025146; 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=rhzDcDTp9b7gMO9TEkQe2hOHa4hfYLpSwnG57LoTH7M=; b=AjEwNMJQrV7nje4FIxhxhEhvHntd9BHbVRkz8eUleGScjnO6m3tYpiukWytE7TPQLCJ9jh 1OvTjoraPfrDYLSJN+mjLRM7ndEB5uzpu52gpMVHITUhgLJ+4pFpYz94PeW6cUxMlW3G0H akC3mC6sgmSdisRKObuYqKzapYPbnmifZ+5VvsQuHaYvKqFkHXgQ+qMmPw51d9CFf0bU69 e9nw4oTyR7hU6Oq4hKqrlKPBZnL9I+fw9A7NAnDCdgJI/YKoMSLwNeJHv6IZ7kmPz6GJLj ZfGvUrEvzdZjhj/IQ2LE/oqqvDSJjZFXa9lDF81fXuD4Xd2Xpwyx5kH7o1Qv9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769025146; a=rsa-sha256; cv=none; b=E9za0LoOze1XKbcQsMxCvz3r6n13iKEhujeZMAAl7FtBSWmScyS5bhjs8pMTOwWDWmgYcO ZAAlaJxOapgWtCaUqoj7PfLZTSELGpoZ//CwtpY7EyPzJ4TeP3le9JlxIrxPBTNPHtR7I0 f4obe49AK20Eh7q48dm9KZU08BBQU2imC84p1ccWpRKYzgtbTjjrQSbLifIfOKyShqx9e3 bVilaWu8Jjg/J2IEp9zTJhQLhgzTNaYkcqRsReIKp12M0VaoO6JyV+MbogZ2MGXFbQqlGg i0fv6IkZKfU4viIsU5gQioLGnFpRZOyZ0QIqi1EE8t9y0V546G9jujVTBC6Tqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dxFGL1p5Tz11Wr for ; Wed, 21 Jan 2026 19:52:26 +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 60LJqQB1080353 for ; Wed, 21 Jan 2026 19:52:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60LJqQ49080352 for net@FreeBSD.org; Wed, 21 Jan 2026 19:52:26 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 21 Jan 2026 19:52:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable15? mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D291420 --- Comment #32 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da148f7e54c4ac521d650a256126a0d33a= f4c2023 commit a148f7e54c4ac521d650a256126a0d33af4c2023 Author: Michael Tuexen AuthorDate: 2026-01-16 12:32:13 +0000 Commit: Michael Tuexen CommitDate: 2026-01-21 19:51:34 +0000 bge: disable TXCSUM if UDP transmit checksum offloading is disabled The bge interface is special with respect to transmit checksumi offloading. In the default settings, an bge interface announces TXCSUM capabilities, but only supports TCP/IPv4 and not UDP/IPv4 due to limitations of some of the NICs. This results in problems when the bge interface becomes a member of a bridge. Since currently only the TXCSUM capabilities are synced when a member is added to a bridge and not the protocol specific capabilities, this can result in a situation where UDP packets are sent out using a bge interface without having a correct checksum. To mitigate this problem, initially don't announce TXCSUM capabilities, when UDP transmit checksum is disabled. It is still possible to enable TXCSUM capabilities via ifconfig. PR: 291420 Reviewed by: Timo Voelker Differential Revision: https://reviews.freebsd.org/D54486 (cherry picked from commit bbd30927b1af44226c8de0512912a7fedfce2824) share/man/man4/bge.4 | 10 +++++++++- sys/dev/bge/if_bge.c | 14 +++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=