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

From: Stephen Hemminger
Date: Tue Dec 17 2013 - 02:47:49 EST


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?
--
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/