[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+sJ3Ay6MHPLDou+4Pj+JWN72p9XMwroMna8QVWb6Lh7g@mail.gmail.com>
Date: Fri, 15 Feb 2019 07:54:53 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Yafang Shao <laoar.shao@...il.com>
Cc: David Miller <davem@...emloft.net>,
Daniel Borkmann <daniel@...earbox.net>,
netdev <netdev@...r.kernel.org>, shaoyafang@...iglobal.com
Subject: Re: [net-next 5/5] net: sock: remove the definition of SOCK_DEBUG()
On Fri, Feb 15, 2019 at 7:42 AM Yafang Shao <laoar.shao@...il.com> wrote:
>
> On Fri, Feb 15, 2019 at 10:58 PM Eric Dumazet <edumazet@...gle.com> wrote:
> >
> > On Fri, Feb 15, 2019 at 6:50 AM Yafang Shao <laoar.shao@...il.com> wrote:
> > >
> > > As SOCK_DEBUG() isn't used any more, we can get ride of it now.
> > >
> >
> > No, we are still using this infrastructure from time to time.
> >
> > I told you I agreed to remove the current (obsolete) TCP call sites,
> > I never suggested to remove SOCK_DEBUG() completely.
>
> All right, however I'm not persuaded by you.
> Because SOCK_DEBUG() is not a smart way for debugging, which requires
> the user code to be modified.
> We have other more flexible methords.
That might be the case, but only if you get enough privileges and skills.
I fail to see why we should enforce anything here.
It costs nothing having this interface kept.
In any case, we do not deprecate features without a
Documentation/ABI/obsolete/* file
and quarantine.
Powered by blists - more mailing lists