Date: Tue, 29 Dec 2009 23:47:21 +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: <200912292347.nBTNlWJU064113@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-12-29 23:47:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/opencrypto cryptosoft.c Log: SVN rev 201242 on 2009-12-29 23:47:21Z 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.19.2.1 +1 -1 src/sys/opencrypto/cryptosoft.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912292347.nBTNlWJU064113>