Re: [PATCH v2 05/13] be2iscsi: Add checks to validate completions

2016-12-22 Thread Hannes Reinecke
On 12/13/2016 11:25 AM, Jitendra Bhivare wrote: Added check in beiscsi_process_cq for pio_handle. pio_handle is cleared in beiscsi_put_wrb_handle. This catches any case where task gets cleaned up just before completion. Use back_lock before accessing pio_handle. Signed-off-by: Jitendra Bhivare

[PATCH v2 05/13] be2iscsi: Add checks to validate completions

2016-12-13 Thread Jitendra Bhivare
Added check in beiscsi_process_cq for pio_handle. pio_handle is cleared in beiscsi_put_wrb_handle. This catches any case where task gets cleaned up just before completion. Use back_lock before accessing pio_handle. Signed-off-by: Jitendra Bhivare ---