[Bug 278087] qlnxe: promiscuous and allmulti modes not handled properly [PATCH]

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Apr 2024 05:43:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278087

            Bug ID: 278087
           Summary: qlnxe: promiscuous and allmulti modes not handled
                    properly [PATCH]
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: keith.reynolds@hpe.com

The qlnxe_ioctl() function checks whether the IFF_PROMISC or IFF_ALLMULTI bits
have changed since the last time the bits were saved, but it only saves the
bits when the interface is marked down, so it misses some changes to those
bits. Also, when it does detect a change in the bits, it always turns on those
modes (promiscuous or allmulti), even if the change was to turn the interface
bits off. And, when the interface is reset (such as when the MAC address is
changed), it doesn't check those bits, so it always turns those modes off even
if the interface bits are set.

-- 
You are receiving this mail because:
You are the assignee for the bug.