summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2011-02-16 19:08:57 +0000
committerdrochner <drochner@NetBSD.org>2011-02-16 19:08:57 +0000
commiteea9bcdbdb38922802b9101e744a31e8e573f2bc (patch)
tree3077aad30217d38da73ae475eee1f1c5cb0ea1ab /include
parentd4dbe44b9b81e37798e02e1597c0f175e86a4949 (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