[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hotplugging /e/n/i "auto" interfaces

 --- Per Olofsson <pelle@dsv.su.se> wrote: 
> On Thu, Apr 08, 2004 at 20:11 +0100, J.D. Hood wrote:
> > On the other hand, the driver for the card may not have been
> > loaded.  In that case the attempt to bring up the interface may
> > induce a modprobe of the driver module.  This will cause a hotplug
> > event and hotplug will run ifup for the interface, causing deadlock
> > because the interface is already in the process of being ifup'ped.
> Well, firstly, I believe there exists some kind of locking which would
> prevent this. I'm not sure though.

The locking that ifupdown does (to serialize running instances) is
what guarantees that there will be deadlock whenever "ifup ethx"
leads to another "ifup ethx".


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 

Reply to: