diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-11-23 18:08:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-25 19:56:37 -0500 |
commit | 97db8afa2ab919fc400fe982f5054060868bdf07 (patch) | |
tree | 2396eb1abdd6bea1126f85a8453011c14efda44f | |
parent | fb09c8c524dae2b893aacc9348e876a87b45b697 (diff) |
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: b50b72de2f2f ("net: mvneta: enable features before registering the driver")
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 5cb07c2017bf..0c0a45af950f 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c | |||
@@ -4151,7 +4151,7 @@ static int mvneta_probe(struct platform_device *pdev) | |||
4151 | dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; | 4151 | dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; |
4152 | dev->hw_features |= dev->features; | 4152 | dev->hw_features |= dev->features; |
4153 | dev->vlan_features |= dev->features; | 4153 | dev->vlan_features |= dev->features; |
4154 | dev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE; | 4154 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; |
4155 | dev->gso_max_segs = MVNETA_MAX_TSO_SEGS; | 4155 | dev->gso_max_segs = MVNETA_MAX_TSO_SEGS; |
4156 | 4156 | ||
4157 | err = register_netdev(dev); | 4157 | err = register_netdev(dev); |