Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 19:01:50 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/opencrypto deflate.c deflate.h
Message-ID:  <200912051902.nB5J2ChK064259@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-12-05 19:01:50 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/opencrypto       deflate.c deflate.h 
  Log:
  SVN rev 200140 on 2009-12-05 19:01:50Z by bz
  
  MFC r199895:
    Change memory managment from a fixed size array to a list.
    This is needed to avoid running into out of buffer situations
    where we cannot alloc a new buffer because we hit the array size
    limit (ZBUF).
    Use a combined allocation for the struct and the actual data buffer
    to not increase the number of malloc calls. [1]
  
    Defer initialization of zbuf until we actually need it.
  
    Make sure the output buffer will be large enough in all cases.
  
    Details discussed with: kib [1]
    Reviewed by:            kib [1]
  
  Revision  Changes    Path
  1.5.2.4   +66 -57    src/sys/opencrypto/deflate.c
  1.2.22.2  +7 -3      src/sys/opencrypto/deflate.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051902.nB5J2ChK064259>