]> err.no Git - linux-2.6/commit
[IPV6]: Cleanup of net/ipv6/reassambly.c
authorIngo Oeser <ioe-lkml@rameria.de>
Tue, 21 Mar 2006 07:01:17 +0000 (23:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 07:01:17 +0000 (23:01 -0800)
commit78c784c47a2be593480cb6c69829a59f0504d575
treedc300e4a1b4205e770c3629d359aa83deea72929
parentb3e83d6d187664be56a1591ccfa99124b88f0582
[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: Ingo Oeser <ioe-lkml@rameria.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c