diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-06-26 10:06:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-01 17:10:16 -0700 |
commit | 3b140a678834f55602e50e7d6a47663e230434a7 (patch) | |
tree | a12fe33dbe707b622339ba97875e139344deb2e4 | |
parent | 07b0f00964def8af9321cfd6c4a7e84f6362f728 (diff) | |
download | op-kernel-dev-3b140a678834f55602e50e7d6a47663e230434a7.zip op-kernel-dev-3b140a678834f55602e50e7d6a47663e230434a7.tar.gz |
net: systemport: do not clear IFF_MULTICAST flag
The SYSTEMPORT Ethernet MAC supports multicast just fine, it just lacks
any sort of Unicast/Broadcast/Multicasting filtering at the Ethernet MAC
level since that is handled by the front end Ethernet switch, but that
is properly handled by bcm_sysport_set_rx_mode().
Some user-space applications might be relying on the presence of this
flag to prevent using multicast sockets, this also prevents that
interface from joining the IPv6 all-router mcast group.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/bcmsysport.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.c b/drivers/net/ethernet/broadcom/bcmsysport.c index 141160e..f6bccd8 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.c +++ b/drivers/net/ethernet/broadcom/bcmsysport.c @@ -1589,12 +1589,6 @@ static int bcm_sysport_probe(struct platform_device *pdev) BUILD_BUG_ON(sizeof(struct bcm_tsb) != 8); dev->needed_headroom += sizeof(struct bcm_tsb); - /* We are interfaced to a switch which handles the multicast - * filtering for us, so we do not support programming any - * multicast hash table in this Ethernet MAC. - */ - dev->flags &= ~IFF_MULTICAST; - /* libphy will adjust the link state accordingly */ netif_carrier_off(dev); |