lkml.org 
[lkml]   [1999]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: IFF_UP vs IFF_RUNNING
Date
Hello!

> I think you didn't understand it. My patch against syncppp.c (and
> net/core/dev.c) allows IFF_RUNNING to be set by the link protocol driver,
> while IFF_UP is set by dev.c only.

Changing dev->flags in any place different of dev.c is bug (pretty harmless).
But if you change it at BH or IRQ, it is serious bug.

I understand your enthusiasm, but try to keep administrative things
and link state separately yet and to protect things changed by interrupts
properly.

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.065 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site