From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan O'Sullivan" Subject: [TRIVIAL PATCH] export dev->state via sysfs Date: 19 Aug 2003 22:04:56 -0700 Sender: netdev-bounce@oss.sgi.com Message-ID: <1061355896.10843.22.camel@camp4.serpentine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: To: netdev@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org This trivial patch exports the netdev state field via sysfs. The motivation is to make it possible to check link state from userspace without having to go through the netlink interface.