]> git.baikalelectronics.ru Git - kernel.git/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)
commit6856cc82f9bee47c3465b644bdc68487e1efb89b
treedc300e4a1b4205e770c3629d359aa83deea72929
parent30d016cb5fa23b28668d4dea7fef3196247cff28
[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