Re: Handling set_mac_address in set_rx_mode

2007-07-02 Thread Patrick McHardy
Jeff Garzik wrote: > Patrick McHardy wrote: > >> While adding support for secondary unicast addresses to 8021q and >> macvlan, I've tried keeping dev->dev_addr as global address on >> dev->uc_list and have drivers skip them to avoid having all >> dev_unicast_add users implement a state machine lik

Re: Handling set_mac_address in set_rx_mode

2007-06-30 Thread Jeff Garzik
Patrick McHardy wrote: While adding support for secondary unicast addresses to 8021q and macvlan, I've tried keeping dev->dev_addr as global address on dev->uc_list and have drivers skip them to avoid having all dev_unicast_add users implement a state machine like this: [...] Something that is

Handling set_mac_address in set_rx_mode

2007-06-30 Thread Patrick McHardy
While adding support for secondary unicast addresses to 8021q and macvlan, I've tried keeping dev->dev_addr as global address on dev->uc_list and have drivers skip them to avoid having all dev_unicast_add users implement a state machine like this: open(struct net_device *dev) { struct net_dev