From: Joe Lawrence Date: Tue, 26 Aug 2014 21:10:41 +0000 (-0400) Subject: qla2xxx: Fix shost use-after-free on device removal X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7157d4cfce6edf052452fb1d327d4d11b67f4c;p=pandora-kernel.git qla2xxx: Fix shost use-after-free on device removal Once calling scsi_host_put, be careful to not access qla_hw_data through the Scsi_Host private data (ie, scsi_qla_host base_vha). Fixes: fe1b806f4f71 ("qla2xxx: Refactor shutdown code so some functionality can be reused") Cc: stable@vger.kernel.org # 3.14, 3.15, 3.16 Signed-off-by: Joe Lawrence Acked-by: Chad Dupuis Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed