The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=cce182c3b634daedb5d70842b732ddaff703ed62
commit cce182c3b634daedb5d70842b732ddaff703ed62 Author: Kevin Bowling <[email protected]> AuthorDate: 2026-08-11 19:27:45 +0000 Commit: Kevin Bowling <[email protected]> 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; } /**
