Messages in this thread | | | From | kuznet@ms2 ... | Subject | Re: IFF_UP vs IFF_RUNNING | Date | Mon, 12 Jul 1999 17:13:12 +0400 (MSK DST) |
| |
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/
| |