Module Name:    src
Committed By:   drochner
Date:           Wed Feb 16 19:08:58 UTC 2011

Modified Files:
        src/sys/opencrypto: deflate.c deflate.h

Log Message:
-avoid allocation of an extra result buffer and data copy in case
 the DEFLATE complssion/decompression result is within a single
 buffer already
-simplify bookkeeping of allocated buffers (and don't waste the
 last member of the metadata array)
from Wolfgang Stukenbrock per PR kern/36865 (with some cleanup
of error handling by me)
The Gzip compression case can be improved too, but for now I've applied
the buffer bookkeeping changes.

tested with IP4 IPCOMP


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/opencrypto/deflate.c
cvs rdiff -u -r1.6 -r1.7 src/sys/opencrypto/deflate.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to