[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXJr0p-scxr5GwOKrKHnZunP3pJP0YObSnCsfLPeMC44w@mail.gmail.com>
Date: Thu, 17 Jan 2019 10:07:43 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: yupeng <yupeng0921@...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
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.
Powered by blists - more mailing lists