From: Steve Hodgson <[email protected]>

A few months ago our 2.6.39 based kernel started crashing almost 100%
of the time when running the selftests, after seeminly unrelated kernel
changes. In the end it was traced down to this use after free.

Whilst here fix an error path memory leak.

Thanks,

Steve

Steve Hodgson (2):
  qla2xxx: Fix use after free in qla2x000_process_loopback.
  qla2xxx: Free rsp_data even on error in qla2x00_process_loopback()

 drivers/scsi/qla2xxx/qla_bsg.c |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to