[NET] core: add RFC2863 operstate
authorStefan Rompf <stefan@loplof.de>
Tue, 21 Mar 2006 01:09:11 +0000 (17:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:09:11 +0000 (17:09 -0800)
commitb00055aacdb172c05067612278ba27265fcd05ce
tree4dbbee11b02d54cc0978113dfb07c53fdce17aa8
parente843b9e1bec4a953d848a319da6a18ca5c667f55
[NET] core: add RFC2863 operstate

this patch adds a dormant flag to network devices, RFC2863 operstate derived
from these flags and possibility for userspace interaction. It allows drivers
to signal that a device is unusable for user traffic without disabling
queueing (and therefore the possibility for protocol establishment traffic to
flow) and a userspace supplicant (WPA, 802.1X) to mark a device unusable
without changes to the driver.

It is the result of our long discussion. However I must admit that it
represents what Jamal and I agreed on with compromises towards Krzysztof, but
Thomas and Krzysztof still disagree with some parts. Anyway I think it should
be applied.

Signed-off-by: Stefan Rompf <stefan@loplof.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if.h
include/linux/netdevice.h
include/linux/rtnetlink.h
net/core/dev.c
net/core/link_watch.c
net/core/net-sysfs.c
net/core/rtnetlink.c