[Ocf-linux-users] [PATCH] memory leak in ocf-linux-20100325 version of cryptosoft
Brought to you by:
david-m
From: David M. <dav...@mc...> - 2010-08-20 03:56:23
|
Hi all, Here is a patch that fixes some serious issues with the newly async capable cryptosoft driver. The problems were two fold. * The driver was not closing kernel crypto requests correctly, resulting in a very rapid memory leak (~96 bytes per request). * The driver was not chaining requests correctly. So if you were using cryptosoft to do IPSec or cipher/hash combinations it would only do the first op. Attached is a patch against ocf-linux-20100325 that should address both of these problems. If you have any issue with it please let me know. Cheers, Davidm -- David McCullough, dav...@mc..., Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org |