net: convert multiple drivers to use netdev_for_each_mc_addr
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d7b855c2dc
commit
e1d444771e
@@ -1785,7 +1785,7 @@ static void set_multicast_list(struct net_device *dev)
|
||||
{
|
||||
lp->rx_mode = RX_ALL_ACCEPT;
|
||||
}
|
||||
else if((dev->flags&IFF_ALLMULTI)||dev->mc_list)
|
||||
else if ((dev->flags & IFF_ALLMULTI) || !netdev_mc_empty(dev))
|
||||
{
|
||||
/* The multicast-accept list is initialized to accept-all, and we
|
||||
rely on higher-level filtering for now. */
|
||||
|
Reference in New Issue
Block a user