···608608 hashtable[1] = 0x00000000;609609610610 /* Cycle through all multicast addresses to filter. */611611- for (mc_list_ptr = dev->mc_list;612612- mc_list_ptr != NULL; mc_list_ptr = mc_list_ptr->next) {611611+ netdev_for_each_mc_addr(mc_list_ptr, dev) {613612 /* Calculate CRC result for each multicast address. */614613 hashindex = crc32_le(0xffffffff, mc_list_ptr->dmi_addr,615614 ETH_ALEN);
+1-1
drivers/net/isa-skeleton.c
···666666 else if (!netdev_mc_empty(dev))667667 {668668 /* Walk the address list, and load the filter */669669- hardware_set_filter(dev->mc_list);669669+ hardware_set_filter(dev);670670671671 outw(MULTICAST, ioaddr);672672 }