[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 12 Dec 2019 15:05:13 +0100
From: "Ulrich Windl" <Ulrich.Windl@...uni-regensburg.de>
To: <netdev@...r.kernel.org>
Subject: Q: loopback and /sys/class/net/*/operstate
Hi!
Seeing "state UNKNOWN" in output of "ip addr sh" for loopback, I noticed that /sys/class/net/lo/operstate contains "unknown".
To me it seems that /usr/src/linux/drivers/net/loopback.c does not set up operstate of struct net_device.
Seen in 4.12.14-95.37-default (SLES12 SP4). My personal guess is that the struct was enhanced, and it was forgotten to upgrade loopback.c.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
Kind regards,
Ulrich
Powered by blists - more mailing lists