[Midnightbsd-cvs] [MidnightBSD/src] d1d948: axgbe: Fix setting promisc mode

Lucas Holt noreply at github.com
Tue Dec 16 11:08:39 EST 2025


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: d1d948a0b6ff5bc46b685f8fea6f7c0510cc3b32
      https://github.com/MidnightBSD/src/commit/d1d948a0b6ff5bc46b685f8fea6f7c0510cc3b32
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2025-12-16 (Tue, 16 Dec 2025)

  Changed paths:
    M sys/dev/axgbe/if_axgbe_pci.c
    M sys/dev/axgbe/xgbe-dev.c

  Log Message:
  -----------
  axgbe: Fix setting promisc mode
Ethernet drivers should respect IFF_PROMISC rather than IFF_PPROMISC.
The latter is for user-requested promisc mode, it implies the former
but not vice versa. Some in-kernel components such as if_bridge(4) and
bpf(4) will set promisc mode for interfaces on-demand.



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list