linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS
       [not found]       ` <CAAMKmoe8rUuoxFK2gKZL4um79gmtn-__-1ZDWuBgGTqfqPjZdw@mail.gmail.com>
@ 2021-04-30 19:32         ` Alejandro Colomar (man-pages)
       [not found]           ` <CAAMKmocBEr05EfidF9CfqJQw4uj1YcYwmkJPR=c0eCCYgsAHwg@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-04-30 19:32 UTC (permalink / raw)
  To: Erik Flodin, mtk.manpages
  Cc: linux-man, Stefan Rompf, David S. Miller, John Dykstra, netdev,
	linux-kernel

[PING mtk, netdev@]
[CC += linux-kernel]

Hi Erik,

On 4/29/21 9:45 PM, Erik Flodin wrote:
> On Wed, 14 Apr 2021 at 21:56, Alejandro Colomar (man-pages)
> <alx.manpages@gmail.com> wrote:
>>
>> [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
>>

> Hi again,
> 
> Have there been any updates on this one?

No, Noone from the kernel answered.  And I'm sorry, but I'm not sure
what is going on in the code, so I don't want to close this here by just
removing those flags from the manual page, because I worry that the
actual code may be wrong or something.  So I prefer that when Michael
has some time he can maybe review this and say something.  Ideally,
someone from the kernel would also respond, but they haven't.  I've CCd
the LKML; let's see if someone reads this and can help.

Thanks,

Alex

P.S.:  Please, if we haven't responded in a month from now, ping us
again.  Thanks again.

> 
> // Erik
> 
>>
>> --
>> Alejandro Colomar
>> Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
>> http://www.alejandro-colomar.es/

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS
       [not found]           ` <CAAMKmocBEr05EfidF9CfqJQw4uj1YcYwmkJPR=c0eCCYgsAHwg@mail.gmail.com>
@ 2021-11-12 21:01             ` Alejandro Colomar (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-11-12 21:01 UTC (permalink / raw)
  To: Erik Flodin
  Cc: mtk.manpages, linux-man, Stefan Rompf, David S. Miller,
	John Dykstra, netdev, linux-kernel

Hi Erik,

On 10/2/21 18:35, Erik Flodin wrote:
> A bit more than a month has passed so here's a ping :)
> 
> // Erik

Thanks for the ping.

alarm(3600 * 24 * 30);  // :)

> 
> On Fri, 30 Apr 2021 at 21:32, Alejandro Colomar (man-pages) 
> <alx.manpages@gmail.com <mailto:alx.manpages@gmail.com>> wrote:
> 
>     [PING mtk, netdev@]
>     [CC += linux-kernel]
> 
>     Hi Erik,
> 
>     On 4/29/21 9:45 PM, Erik Flodin wrote:
>      > On Wed, 14 Apr 2021 at 21:56, Alejandro Colomar (man-pages)
>      > <alx.manpages@gmail.com <mailto:alx.manpages@gmail.com>> wrote:
>      >>
>      >> [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 <mailto: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
>     <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
>      >>
> 
>      > Hi again,
>      >
>      > Have there been any updates on this one?
> 
>     No, Noone from the kernel answered.  And I'm sorry, but I'm not sure
>     what is going on in the code, so I don't want to close this here by just
>     removing those flags from the manual page, because I worry that the
>     actual code may be wrong or something.  So I prefer that when Michael
>     has some time he can maybe review this and say something.  Ideally,
>     someone from the kernel would also respond, but they haven't.  I've CCd
>     the LKML; let's see if someone reads this and can help.
> 
>     Thanks,
> 
>     Alex
> 
>     P.S.:  Please, if we haven't responded in a month from now, ping us
>     again.  Thanks again.
> 
>      >
>      > // Erik
>      >
>      >>
>      >> --
>      >> Alejandro Colomar
>      >> Linux man-pages comaintainer;
>     https://www.kernel.org/doc/man-pages/
>     <https://www.kernel.org/doc/man-pages/>
>      >> http://www.alejandro-colomar.es/ <http://www.alejandro-colomar.es/>
> 
>     -- 
>     Alejandro Colomar
>     Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
>     <https://www.kernel.org/doc/man-pages/>
>     http://www.alejandro-colomar.es/ <http://www.alejandro-colomar.es/>
> 

-- 
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-12 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAMKmof+Y+qrro7Ohd9FSw1bf+-tLMPzaTba-tVniAMY0zwTOQ@mail.gmail.com>
     [not found] ` <b0a534b3-9bdf-868e-1f28-8e32d31013a2@gmail.com>
     [not found]   ` <CAAMKmodhSsckMxH9jLKKwXN_B76RoLmDttbq5X9apE-eCo0hag@mail.gmail.com>
     [not found]     ` <1cde5a72-033e-05e7-be58-b1b2ef95c80f@gmail.com>
     [not found]       ` <CAAMKmoe8rUuoxFK2gKZL4um79gmtn-__-1ZDWuBgGTqfqPjZdw@mail.gmail.com>
2021-04-30 19:32         ` netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS Alejandro Colomar (man-pages)
     [not found]           ` <CAAMKmocBEr05EfidF9CfqJQw4uj1YcYwmkJPR=c0eCCYgsAHwg@mail.gmail.com>
2021-11-12 21:01             ` Alejandro Colomar (man-pages)

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).