Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 15:05:37 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/opencrypto cryptosoft.c
Message-ID:  <201001041505.o04F5ssN087353@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2010-01-04 15:05:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/opencrypto       cryptosoft.c 
  Log:
  SVN rev 201508 on 2010-01-04 15:05:37Z by bz
  
  MFC r199906:
    In case the compression result is the same size as the orignal version,
    the compression was useless as well.  Make sure to not update the data
    and return, else we would waste resources when decompressing.
  
    This also avoids the copyback() changing data other consumers like
    xform_ipcomp.c would have ignored because of no win and sent out without
    noting that compression was used, resulting in invalid packets at the
    receiver.
  
  Revision  Changes    Path
  1.9.2.3   +1 -1      src/sys/opencrypto/cryptosoft.c



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