Marcus Meissner writes:

>> - On the unregister/removal path, the netdevice layer ensures that
>>   the interface is removed from the kernel namespace prior to launching
>>   `/sbin/hotplug net unregister eth0'.
>>
>>   This means that when handling netdevice unregistration
>>   /sbin/hotplug cannot and must not attempt to do anything with eth0!
>>   Generally it'll fail to find an interface with this name.  If it does
>>   find eth0, it'll be the wrong one due to a race.
>
> I always thought I should have to do "/sbin/ifdown eth0" here.
> (Just as I do /sbin/ifup eth0 on register.)

Yes, definitely. Otherwise, how can one replace the eth0 hardware
without messing up the network settings? This is supposed to be
hot plug and all... to me that means I can rip out one network
card and pop in another without breaking my ssh connections.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to