The patch titled SCSI: aacraid, fix memory leak has been added to the -mm tree. Its filename is scsi-aacraid-fix-memory-leak.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: SCSI: aacraid, fix memory leak From: Jiri Slaby <jirislaby@xxxxxxxxx> Stanse found a memory leak on one fail path in aac_send_raw_srb. Add kfree there. Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/aacraid/commctrl.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/scsi/aacraid/commctrl.c~scsi-aacraid-fix-memory-leak drivers/scsi/aacraid/commctrl.c --- a/drivers/scsi/aacraid/commctrl.c~scsi-aacraid-fix-memory-leak +++ a/drivers/scsi/aacraid/commctrl.c @@ -649,6 +649,7 @@ static int aac_send_raw_srb(struct aac_d AAC_OPT_NEW_COMM) ? (dev->scsi_host_ptr->max_sectors << 9) : 65536) { + kfree (usg); rcode = -EINVAL; goto cleanup; } _ Patches currently in -mm which might be from jirislaby@xxxxxxxxx are origin.patch linux-next.patch scsi-aacraid-fix-memory-leak.patch scsi-remove-unnecessary-null-test.patch scsi-lpfc-fix-memory-leak.patch swap_info-include-first_swap_extent-fix.patch swap_info-include-first_swap_extent-fix-fix.patch char-cyclades-fix-compiler-warning.patch cyclades-allow-overriding-isa-defaults-also-when-the-driver-is-built-in.patch char-mxser-remove-unnecessary-tty-test.patch isicomc-use-pr_fmt-and-pr_level.patch moxa-remove-ifdef-module-completely.patch reiser4.patch fs-reiser4-add-parenths-around-x-y.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html