|
@@ -829,7 +829,7 @@ static void enic_set_multicast_list(struct net_device *netdev)
|
|
|
int promisc = (netdev->flags & IFF_PROMISC) ? 1 : 0;
|
|
|
unsigned int mc_count = netdev_mc_count(netdev);
|
|
|
int allmulti = (netdev->flags & IFF_ALLMULTI) ||
|
|
|
- mc_count > ENIC_MULTICAST_PERFECT_FILTERS;
|
|
|
+ mc_count > ENIC_MULTICAST_PERFECT_FILTERS;
|
|
|
unsigned int flags = netdev->flags | (allmulti ? IFF_ALLMULTI : 0);
|
|
|
u8 mc_addr[ENIC_MULTICAST_PERFECT_FILTERS][ETH_ALEN];
|
|
|
unsigned int i, j;
|