From nobody Wed Jan 21 14:21:43 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 4dx5wm6P7qz6PGwt for ; Wed, 21 Jan 2026 14:21:44 +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 4dx5wm5knbz3TqN for ; Wed, 21 Jan 2026 14:21:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769005304; 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=AiP5cvCXDJNVHjJGhJukcmGHp6Ty39pVru3VpNZq25g=; b=GohNIPY5SacRdDnepU5aD91ojdZqpfzp8k9Cnt3n5yzK0ChyzgWUm070+EBc0SJcywKaIM 1g9vbstqc5+okCzIQM7xs6sRp4Bf/xk3Hi022P3u1EmQjY3CiaDccrxxnU//qO7l1ZE7zm pSBNv6RhUFZ29AF7E/p/y5uqeT6p8FwWJYxj0+eGwI+vzO32FomHY7Hf+hkKjAxSsmAzkS lKXJC7lclwRi0VWX7GfSQAHEEaXCY67kWTOkLhgENVNrO+4ElaDAF44DB8/p031eUEn9lr erxCw6GOzeX7j8Gsgn1HUDQiq9hYV/DrzJdGFe3k7gfNv+5MoHY1wNoOOzEbRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769005304; 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=AiP5cvCXDJNVHjJGhJukcmGHp6Ty39pVru3VpNZq25g=; b=Y30yJcJojE7mp7tGqV7c7FT9oSQJOljpZ130J/mEedYCaJPWZy40OODDjqijHKK2XFxXJk XldTQI+5KPPjbnI1LOFwyPntDRbn1sI7jjUP9Z7kWlS0aq+nIHQJMs5PSDnpXkIhv+2GXq 4vDlj4b9K0s/cA1t/MUI5OlASZmNxtAUdzP4dPY8VmlXWxf4tdF+WjPdV//QsIpNPnJtnX PgI6garZZ62DzZUUU2xBi8Ca0QHIAB39ygcIR5CAHj3e4gplP9yZ9ZlMhct2aK0SoQdxeP rwmkmXI3RfgfaQVoGBh35nVteHKW42IYz7N45fKUSyhUnpt8WUadftu7MlZ57Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769005304; a=rsa-sha256; cv=none; b=m+/1rs4QtJ6yghIuDce+vai/tUNcvtIWPu9cMxyLq2Vo2lgSFdCwdMXwIxrNZOauoYLIpN IVvkS6r4QD8ajYozd+7g3GXvkeZFkr4d+1xuEf4MOT7lT0cvj66QPOKV+7R0O2N+5hDQYQ 0m9oE9kBYlmFohnr/LLq5R+YcUhAjupFNvhv7820ryrwZ6v5v2DvIi+9ZOyJuYPFd6t23X tc49H67Dy+vwPXQ6Mt6g1Mf/JPdGB8Xl3EfcAwE12XbxraBRh0FsswhAaJB/Dhvi1DFvXX hgdGyd7EO/umvF9/kYJ5xkj1s1GKD3pHmNOoDB6CSo3GqlA5sK4E90XyIAM41w== 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 4dx5wm53JgzrFg for ; Wed, 21 Jan 2026 14:21:44 +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 60LELiQC015912 for ; Wed, 21 Jan 2026 14:21:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60LELiDW015910 for net@FreeBSD.org; Wed, 21 Jan 2026 14:21:44 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 14:21:43 +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 #31 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D39a25aa8a736a827f7a99e682fdb1579a= f4e8df5 commit 39a25aa8a736a827f7a99e682fdb1579af4e8df5 Author: Michael Tuexen AuthorDate: 2026-01-16 12:32:13 +0000 Commit: Michael Tuexen CommitDate: 2026-01-21 14:11:56 +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.=