> There are several lists owned by a device (dev->dev_addrs, dev->uc, dev->mc,
> dev->rx_mode_addr_cache), the name 'owner' does not reflect that it is set 
> only
> when the list is dev->mc.
> I wonder if the name should be changed or if __hw_addr_init() should be 
> updated
> to always set owner when the list is owned by a device.
> list->count and dev_mc_genid evolves together. Perhaps some helpers would be
> less error-prone for future patches?
>
> __hw_addr_count_inc()
> __hw_addr_count_dec()
> __hw_addr_count_reset()

Thanks for the suggestion, will update based on the suggestion in patchset v8.

Thanks,

Yuyang

Reply via email to