lkml.org 
[lkml]   [1999]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IFF_UP vs IFF_RUNNING
On Sat, 10 Jul 1999, Gergely Madarasz wrote:

> 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. The reason for setting them together in
> dev.c is that it should be compatible with the current way of things, when
> IFF_RUNNING was set exacly when IFF_UP was set. My patch to syncppp.c
> resets IFF_RUNNING when open and sets it only when the link protocol is
> up. So it does exactly the thing you are talking about.

Ok, I misunderstood what you said and did not look at the code. I thought
you were saying that you modified it to keep both flags in sync at all
times. My apologies.




-
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.053 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site