Re: [PATCH net v4 06/10] net: au1000: restore receive filtering before enabling RX

From: Simon Horman

Date: Tue Dec 01 2026 - 06:01:29 EST


On Fri, Nov 20, 2026 at 04:48:05PM -0800, Florian Fainelli wrote:
> MAC initialization overwrites the receive mode, dropping promiscuous and
> multicast settings after a watchdog reset without notifying the network
> stack. Restore the requested filtering before the control write that
> enables RX, avoiding a window with the wrong filter.
>
> Factor receive-mode programming into a helper shared by initialization
> and the receive-mode callback. Hold the address-list lock before the
> device lock through initialization so the filter snapshot stays current.
> Protect callback control-register updates with the device lock as well.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>