lkml.org 
[lkml]   [1999]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] TCP/IP delacks disabled with MPI
Date
Hello!

> Don will make the ethernet drivers set IFF_RUNNING when there is a link
> and drop that when there isnt

dev->flags cannot be changed by interrupts,
it contains only static and administratively set flags.
Othewise we will have to spinlock or atomize all the accesses
to them.

Link state flag must be separate. dev->link_state or a bit
in atomic flag bitset. It may be translated to IFF_RUNNING
by ioctl frontend though.

BTW teql is insensitive to link state, it does NUD.

Alexey

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