Files
freebsd/sys/dev/axgbe
Zhenlei Huang c7a2636889 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.

While here, update the debugging message to be not confusing.

This was spotted while reviewing markj@ 's work D46524.

Test from Franco shows that the interface seems to be unconditionally
initialized to promisc mode regardless of this fix. That needs further
investigation.

Reviewed by:	markj, Franco Fichtner <[email protected]>
Tested by:	Franco Fichtner <[email protected]>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D46794
2024-10-12 21:56:56 +08:00
..
2024-10-12 21:56:56 +08:00
2024-08-12 16:04:32 -05:00
2024-10-12 21:56:56 +08:00
…