From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: Erik Flodin <erik@flodin.me>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org,
Stefan Rompf <stefan@loplof.de>,
"David S. Miller" <davem@davemloft.net>,
Fredrik Arnerup <fredrik.arnerup@edgeware.tv>,
John Dykstra <john.dykstra1@gmail.com>,
Oliver Hartkopp <oliver.hartkopp@volkswagen.de>,
Urs Thuermann <urs.thuermann@volkswagen.de>,
netdev@vger.kernel.org
Subject: Re: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS
Date: Wed, 14 Apr 2021 21:56:06 +0200 [thread overview]
Message-ID: <1cde5a72-033e-05e7-be58-b1b2ef95c80f@gmail.com> (raw)
In-Reply-To: <CAAMKmodhSsckMxH9jLKKwXN_B76RoLmDttbq5X9apE-eCo0hag@mail.gmail.com>
[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@gmail.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/
next prev parent reply other threads:[~2021-04-14 19:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAMKmof+Y+qrro7Ohd9FSw1bf+-tLMPzaTba-tVniAMY0zwTOQ@mail.gmail.com>
[not found] ` <b0a534b3-9bdf-868e-1f28-8e32d31013a2@gmail.com>
[not found] ` <AM0PR05MB4642B7A28497C98DDE5338B0EC689@AM0PR05MB4642.eurprd05.prod.outlook.com>
2021-03-20 17:22 ` Fwd: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS Oliver Hartkopp
[not found] ` <CAAMKmodhSsckMxH9jLKKwXN_B76RoLmDttbq5X9apE-eCo0hag@mail.gmail.com>
2021-04-14 19:56 ` Alejandro Colomar (man-pages) [this message]
2021-04-29 19:45 ` Erik Flodin
2021-04-30 19:32 ` Alejandro Colomar (man-pages)
[not found] ` <CAAMKmocBEr05EfidF9CfqJQw4uj1YcYwmkJPR=c0eCCYgsAHwg@mail.gmail.com>
2021-11-12 21:01 ` Alejandro Colomar (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1cde5a72-033e-05e7-be58-b1b2ef95c80f@gmail.com \
--to=alx.manpages@gmail.com \
--cc=davem@davemloft.net \
--cc=erik@flodin.me \
--cc=fredrik.arnerup@edgeware.tv \
--cc=john.dykstra1@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oliver.hartkopp@volkswagen.de \
--cc=stefan@loplof.de \
--cc=urs.thuermann@volkswagen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).