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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG3TDc1ppnP6NbDGxP-haaeRKHhu1PD9aFSJYd8QcHyhHbnCvA@mail.gmail.com>
Date:   Mon, 21 Jan 2019 15:14:01 -0800
From:   peng yu <yupeng0921@...il.com>
To:     Cong Wang <xiyou.wangcong@...il.com>
Cc:     Linux Kernel Network Developers <netdev@...r.kernel.org>,
        David Miller <davem@...emloft.net>,
        Alexey Kuznetsov <kuznet@....inr.ac.ru>,
        Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH net-next] remove TWKilled counter

Hello, I think the snmp.h didn't try to keep user-space compatibility,
so we could delete  LINUX_MIB_TIMEWAITKILLED counter. Do I
misunderstand anything?

On Thu, Jan 17, 2019 at 12:26 PM peng yu <yupeng0921@...il.com> wrote:
>
> On Thu, Jan 17, 2019 at 10:07 AM Cong Wang <xiyou.wangcong@...il.com> wrote:
> >
> > On Thu, Jan 17, 2019 at 3:43 AM yupeng <yupeng0921@...il.com> wrote:
> > > diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h
> > > index 86dc24a96c90..fb0a17337bf2 100644
> > > --- a/include/uapi/linux/snmp.h
> > > +++ b/include/uapi/linux/snmp.h
> > > @@ -178,7 +178,6 @@ enum
> > >         LINUX_MIB_ARPFILTER,                    /* ArpFilter */
> > >         LINUX_MIB_TIMEWAITED,                   /* TimeWaited */
> > >         LINUX_MIB_TIMEWAITRECYCLED,             /* TimeWaitRecycled */
> > > -       LINUX_MIB_TIMEWAITKILLED,               /* TimeWaitKilled */
> > >         LINUX_MIB_PAWSACTIVEREJECTED,           /* PAWSActiveRejected */
> > >         LINUX_MIB_PAWSESTABREJECTED,            /* PAWSEstabRejected */
> > >         LINUX_MIB_DELAYEDACKS,                  /* DelayedACKs */
> >
> > This is no way to go, it is breaking user-space.
> >
> > You should at least keep this definition even if this counter is unused.
>
> From the snmp.h commit history, I didn't aware that we should keep the
> user-space compatibility. For example, the commit 713bafea9292 removed
> LINUX_MIB_TCPFACKREORDER, and the commit 4f693b55c3d2 inserted
> LINUX_MIB_TCPBACKLOGCOALESCE to the middle of the linux mib
> definitions enum. I think these commits would break the user-space
> compatibility too. Did they use any method to avoid breaking the
> user-space compatibility? Or if I misunderstand anything, please let
> me know.
>
> Thanks a lot.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ