From: Mike Christie Date: Fri, 16 Jan 2009 18:36:51 +0000 (-0600) Subject: SCSI: libiscsi: fix iscsi pool leak X-Git-Tag: v2.6.27.19~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d4c866a840c054c7561caee0d77980c993a118;p=pandora-kernel.git SCSI: libiscsi: fix iscsi pool leak commit 2f5899a39dcffb404c9a3d06ad438aff3e03bf04 upstream. I am not sure what happened. It looks like we have always leaked the q->queue that is allocated from the kfifo_init call. nab finally noticed that we were leaking and this patch fixes it by adding a kfree call to iscsi_pool_free. kfifo_free is not used per kfifo_init's instructions to use kfree. Signed-off-by: Mike Christie Signed-off-by: James Bottomley Cc: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed