Skip to content
Snippets Groups Projects
Commit 78c784c4 authored by Ingo Oeser's avatar Ingo Oeser Committed by David S. Miller
Browse files

[IPV6]: Cleanup of net/ipv6/reassambly.c


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.

Signed-off-by: default avatarIngo Oeser <ioe-lkml@rameria.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3e83d6d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment