[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1cde5a72-033e-05e7-be58-b1b2ef95c80f@gmail.com>
Date: Wed, 14 Apr 2021 21:56:06 +0200
From: "Alejandro Colomar (man-pages)" <alx.manpages@...il.com>
To: Erik Flodin <erik@...din.me>
Cc: mtk.manpages@...il.com, linux-man@...r.kernel.org,
Stefan Rompf <stefan@...lof.de>,
"David S. Miller" <davem@...emloft.net>,
Fredrik Arnerup <fredrik.arnerup@...eware.tv>,
John Dykstra <john.dykstra1@...il.com>,
Oliver Hartkopp <oliver.hartkopp@...kswagen.de>,
Urs Thuermann <urs.thuermann@...kswagen.de>,
netdev@...r.kernel.org
Subject: Re: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS
[CC += netdev]
Hi Erik,
On 4/14/21 8:52 PM, Erik Flodin wrote:
> Hi,
>
> On Fri, 19 Mar 2021 at 20:53, Alejandro Colomar (man-pages)
> <alx.manpages@...il.com> wrote:
>> On 3/17/21 3:12 PM, Erik Flodin wrote:
>>> The documentation for SIOCGIFFLAGS/SIOCSIFFLAGS in netdevice.7 lists
>>> IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO, but those can't be set in
>>> ifr_flags as it is only a short and the flags start at 1<<16.
>>>
>>> See also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=746e6ad23cd6fec2edce056e014a0eabeffa838c
>>>
>>
>> I don't know what's the history of that.
>
> Judging from commit message in the commit linked above it was added by
> mistake. As noted the flags are accessible via netlink, just not via
> SIOCGIFFLAGS.
>
> // Erik
>
I should have CCd netdev@ before. Thanks for the update. Let's see if
anyone there can comment.
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
Powered by blists - more mailing lists