lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <5DF24919020000A100035A96@gwsmtp.uni-regensburg.de> 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