Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Florian Fainelli
Thu, 12 Nov 2026 04:52
[PATCH net v2 02/12] net: au1000: clear all-multicast mode when restoring hash filtering
Author: Florian Fainelli
Date: Thu, 12 Nov 2026 04:52
Date: Thu, 12 Nov 2026 04:52
27 lines
12206 bytes
12206 bytes
MAC_PASS_ALL_MULTI remains set after IFF_ALLMULTI is cleared or the
multicast list shrinks below the filter limit. Clear it when programming
the selective multicast hash so unwanted multicast traffic is filtered
again.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/amd/au1000_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c
index cd25248f4e3a..58bc8e1b539d 100644
--- a/drivers/net/ethernet/amd/au1000_eth.c
+++ b/drivers/net/ethernet/amd/au1000_eth.c
@@ -1042,7 +1042,7 @@ static void au1000_multicast_list(struct net_device *dev)
(long *)mc_filter);
writel(mc_filter[1], &aup->mac->multi_hash_high);
writel(mc_filter[0], &aup->mac->multi_hash_low);
- reg &= ~MAC_PROMISCUOUS;
+ reg &= ~(MAC_PROMISCUOUS | MAC_PASS_ALL_MULTI);
reg |= MAC_HASH_MODE;
}
writel(reg, &aup->mac->control);
--
2.53.0
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads