diff options
| author | drochner <drochner@NetBSD.org> | 2011-02-16 19:08:57 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2011-02-16 19:08:57 +0000 |
| commit | eea9bcdbdb38922802b9101e744a31e8e573f2bc (patch) | |
| tree | 3077aad30217d38da73ae475eee1f1c5cb0ea1ab /include | |
| parent | d4dbe44b9b81e37798e02e1597c0f175e86a4949 (diff) | |
-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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
