Re: [RFC PATCH] net, tun: remove the flow cache

From: Zhi Yong Wu
Date: Tue Dec 17 2013 - 03:14:16 EST


On Mon, 2013-12-16 at 23:47 -0800, Stephen Hemminger wrote:
> On Tue, 17 Dec 2013 15:26:22 +0800
> Zhi Yong Wu <zwu.kernel@xxxxxxxxx> wrote:
>
> > From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
> >
> > The flow cache is an extremely broken concept, and it usually brings up
> > growth issues and DoS attacks, so this patch is trying to remove it from
> > the tuntap driver, and insteadly use a simpler way for its flow control.
> >
> > Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
> > ---
> > drivers/net/tun.c | 208 +++--------------------------------------------------
> > 1 files changed, 10 insertions(+), 198 deletions(-)
> >
> > diff --git a/drivers/net/tun.c b/drivers/net/tun.c
> > index 7c8343a..7c27fdc 100644
> > --- a/drivers/net/tun.c
> > +++ b/drivers/net/tun.c
> > @@ -32,12 +32,15 @@
> > *
> > * Daniel Podlejski <underley@xxxxxxxxxxxxxxx>
> > * Modifications for 2.3.99-pre5 kernel.
> > + *
> > + * Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
> > + * Remove the flow cache.
> > */
>
> I agree with your patch, but please don't add to the comment changelog.
> These are all historical. The kernel development process has not used
> them for 5+ years.
>
> Can we get kernel janitors to just remove them, or would that step
> on too many early developers toes by removing credit?
I thought that it is a big code change, and need to add some changelog
for this, but you seem to have a big argue. :) I don't object to
removing my comment in its changelog if other guys also agree with you.


>

--
Regards,

Zhi Yong Wu

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/