commit | 9077a944bc3c8bea45a91dc2caa65e96ac4c5f87 | [log] [tgz] |
---|---|---|
author | wenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com> | Thu Mar 14 13:52:24 2013 -0500 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Apr 06 11:25:37 2013 +0100 |
tree | dffa7cf509eb2fdc0533ce6eea2544b9dcc03353 | |
parent | c4ee22a3708d54d8fb5ee8a23ca08e74abcaedfd [diff] |
[SCSI] ipr: dlpar failed when adding an adapter back Reinitialize resource queue prior to freeing resource entries to ensure they are not referenced. This fixes an issue with target_destoy accessing memory after it was freed. Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>