Skip to content

Commit 97db8af

Browse files
lunndavem330
authored andcommitted
net: ethernet: mvneta: Remove IFF_UNICAST_FLT which is not implemented
The mvneta driver advertises it supports IFF_UNICAST_FLT. However, it actually does not. The hardware probably does support it, but there is no code to configure the filter. As a quick and simple fix, remove the flag. This will cause the core to fall back to promiscuous mode. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Fixes: b50b72d ("net: mvneta: enable features before registering the driver") Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fb09c8c commit 97db8af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/ethernet/marvell/mvneta.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4151,7 +4151,7 @@ static int mvneta_probe(struct platform_device *pdev)
41514151
dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO;
41524152
dev->hw_features |= dev->features;
41534153
dev->vlan_features |= dev->features;
4154-
dev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE;
4154+
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
41554155
dev->gso_max_segs = MVNETA_MAX_TSO_SEGS;
41564156

41574157
err = register_netdev(dev);

0 commit comments

Comments
 (0)