On Wed, 2009-07-15 at 09:16 -0700, reinette chatre wrote: > > -EEXIST should only happen if something has already claimed something in > > sysfs, but not with netdevs (i.e. wlan0 would just be renamed to wlan1) > > and phy0 is numbered all the time so that can't be it either. I don't > > know. > > fyi ... I based my response on register_netdevice() being able to return > -EEXIST at the time it checks for the existence of "name". Yes, it does that, but we don't ask it for a fixed name -- we allocate "wlan%d" and in the same rtnl-locked section register it, so we should always get a new number and be able to register that number. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part