]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] iscsi_boot_sysfs: Fix a memory leak in iscsi_boot_destroy_kset()
authorEthan Zhao <ethan.kernel@gmail.com>
Fri, 7 Feb 2014 06:41:41 +0000 (00:41 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:19 +0000 (10:19 -0700)
commit9cb48e7b9efb02beedb874855c74a226c1b08f6b
tree1fae81bf65f28ea91d95935ac65b550e62f5ba53
parent46a84c6516fa09bb8e4cc0c7998ccd4cb5e876a1
[SCSI] iscsi_boot_sysfs: Fix a memory leak in iscsi_boot_destroy_kset()

Load and unload iscsi_ibft module will cause kernel memory leak, fix it
in scsi/iscsi_boot_sysfs.c iscsi_boot_destroy_kset().

Signed-off-by: Ethan Zhao <ethan.kernel@gmail.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/iscsi_boot_sysfs.c