Re: [PATCH] IPv6: Cleanup of net/ipv6/reassambly.c

From: Ingo Oeser
Date: Sun Mar 12 2006 - 02:22:00 EST


Hi,

On Sunday, 12. March 2006 00:49, Ingo Oeser wrote:
> From: Ingo Oeser <ioe-lkml@xxxxxxxxxx>
>
> Two minor cleanups:
>
> 1. Using kzalloc() in fraq_alloc_queue()
> saves the memset() in ipv6_frag_create().
>
> 2. Invert sense of if-statements to streamline code.
> Inverts the comment, too.
>

These are against net-2.6.17 of course.

I also compile tested this and my other kzalloc() changes.

Forgot to mention this yesterday...


Regards

Ingo Oeser
-
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/