From nobody Tue Aug 25 00:31:40 2026 X-Original-To: dev-commits-src-all@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 4hTTHJ4GYDz6pN9Z for ; Tue, 25 Aug 2026 00:31:40 +0000 (UTC) (envelope-from git@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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hTTHJ2g8hz49Xk for ; Tue, 25 Aug 2026 00:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787617900; 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; bh=WLT8ZoS//mnvvqrIAcY/dqMINYb0vvApAvLifIyFErw=; b=foTDXMvF4WtkWIWg6cnl/jqNYICCGF24aJn0TlQ5HuxGkHV9lARgZmcdf58EAEuACbEECa uJOuM0FKTrPnwx5lIr/sv/ATWpV1a++uCj72sigy5MaY0RknW2bMvHFSafw+sGIPwcDqRa PcM1pG/zcXf1meZGIPxrMqbTat2Xe2dcNMC2Rk9Bvoe20NJ8/o9Ux6GPtaDFDqPEG1Imd/ BhjLHiKNJU5HGPFmvVi2xe7aCCh6f473SexRtwNsNUYrFHePAtqi/ofcNUXlpKOmth8gxS 7am99O8GhJ8d5frdnWxE0TLLS80BJw3tIjpxVNirY19jyz48hCka1LGtVNLuYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787617900; a=rsa-sha256; cv=none; b=g3IcvxohIQIFqNE+7xe4ZhrXC3sml1+UyM1okVBQZ9fBubswQWhu5y857mCaG+ZunPN32L IdvEaB4Go5z7F86aCTU79xEsIGsLd+TPBmHO9LB7I9V43cs6JcQWaBXngfeHFNx/WhjMLj eEgRaJVT5g7oop6TAZSl3W6grj+O88pxg5VGHJKyhuuKDegItb9Zfuol1R2ey25wAQhteC ezA+AAex3Bx5KBNihWHUtgV4XrptBP2qcIJKFh9SBzlgk5rHaciHfDw1eldlhMGrRITb1m lfCuAqTsIZDhwgZFVuzqbcjPdXW/XRJfPiOm2HA3sSO0RZ8Md8iuCi/AMm04ww== 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=1787617900; 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; bh=WLT8ZoS//mnvvqrIAcY/dqMINYb0vvApAvLifIyFErw=; b=GpN18st3lq2U4nXEBtFaPGRXBXjlU/JaY1s3p648VV8nigqlGOBgZGpqRuBo5Q+h7WoQnr J67o0N9F2wuRkMIuPe2gugcMQt0jLPoQm7bYEPNLCwnCZt3R1WOs2eMpJBq8X1b3JTi2e/ t7cStECTYiVPMjFHizewb5ZU4LKOCXwiPzngL82MK50SH63MFDTVJiJAh2th9DaNi+TE+Q Row3zG7hUT6jKYtQJGv/EuWtCr0OF9NnWDgbWgqIldFJXTM206S+NK7JeCH3xd/j8isr6s MuOR++DgX9+XECc+jA02tvS6C5+KJzGG7yho7wI66hjNO1+EhfRGODq/gCnztg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hTTHJ139hzCDr for ; Tue, 25 Aug 2026 00:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d6fb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 25 Aug 2026 00:31:40 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: cce182c3b634 - stable/15 - ixgbe: Avoid a signed multicast bitmap shift List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: cce182c3b634daedb5d70842b732ddaff703ed62 Auto-Submitted: auto-generated Date: Tue, 25 Aug 2026 00:31:40 +0000 Message-Id: <6a8ce26c.3d6fb.260b00db@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=cce182c3b634daedb5d70842b732ddaff703ed62 commit cce182c3b634daedb5d70842b732ddaff703ed62 Author: Kevin Bowling AuthorDate: 2026-08-11 19:27:45 +0000 Commit: Kevin Bowling CommitDate: 2026-08-25 00:28:34 +0000 ixgbe: Avoid a signed multicast bitmap shift The multicast vector bit can be 31. Use an unsigned value so setting the bit cannot shift a signed integer into its sign bit. (cherry picked from commit 8704d29c6cc86f0780dff3d3d17d744106776ad3) --- sys/dev/ixgbe/ixgbe_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/ixgbe_common.c b/sys/dev/ixgbe/ixgbe_common.c index 38951c09fb27..116113b825c4 100644 --- a/sys/dev/ixgbe/ixgbe_common.c +++ b/sys/dev/ixgbe/ixgbe_common.c @@ -2729,7 +2729,7 @@ void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) */ vector_reg = (vector >> 5) & 0x7F; vector_bit = vector & 0x1F; - hw->mac.mta_shadow[vector_reg] |= (1 << vector_bit); + hw->mac.mta_shadow[vector_reg] |= 1U << vector_bit; } /**