mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:50:57 +07:00
NS83820: Handle multicast frames.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> -- Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
7132ab7f6e
commit
e78af36623
@ -1582,7 +1582,7 @@ static void ns83820_set_multicast(struct net_device *ndev)
|
||||
else
|
||||
and_mask &= ~(RFCR_AAU | RFCR_AAM);
|
||||
|
||||
if (ndev->flags & IFF_ALLMULTI)
|
||||
if (ndev->flags & IFF_ALLMULTI || ndev->mc_count)
|
||||
or_mask |= RFCR_AAM;
|
||||
else
|
||||
and_mask &= ~RFCR_AAM;
|
||||
|
Loading…
Reference in New Issue
Block a user