[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241119153703.71f97b76@hermes.local>
Date: Tue, 19 Nov 2024 15:37:03 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Subject: netdev: operstate UNKNOWN for loopback and other devices?
It looks like loopback and other software devices never get the operstate
set correctly. Not a serious problem, but it is incorrect.
For example:
$ ip -br link
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
tap0 UNKNOWN ca:ff:ed:bf:96:a0 <BROADCAST,PROMISC,UP,LOWER_UP>
tap1 UNKNOWN 36:f5:16:d1:4c:15 <BROADCAST,PROMISC,UP,LOWER_UP>
For wireless and ethernet devices kernel reports UP and DOWN correctly.
Looks like some missing bits in dev_open but not sure exactly where.
Powered by blists - more mailing lists