Source-Changes archive

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

Re: CVS commit: src/sys



On Tue, Mar 11, 2008 at 11:58:06PM +0000, David Young wrote:
> Log Message:
> Prepare for PMF self-suspension: in the if_stop() methods, clear
> IFF_UP and IFF_RUNNING before running the 'disable' step, instead
> of after.  Soon I will handle the 'disable' step by calling into
> PMF, which may call if_stop(, 0).  Ordinarily, that is harmless.
> This change lets the if_stop() routines exit early when they find
> on entry that IFF_RUNNING is not set.

One thing we have to be careful about is that all drivers do use
IFF_RUNNING correctly.

Joerg


Home | Main Index | Thread Index | Old Index