linux/drivers/scsi/be2iscsi
Jitendra Bhivare cb564c6b44 be2iscsi: Fix WRB leak in login/logout path
Login/Logout loop was hanging after few hours. /var/log/message showed
that alloc_wrb_handle() function was not able to allocate any new WRB.

Sep 11 11:25:22 Jhelum10 kernel: connection32513:0: Could not send nopout
Sep 11 11:25:22 Jhelum10 kernel: scsi host10: BM_4989 : Alloc of WRB_HANDLE
Failed for the CID : 384
Sep 11 11:25:22 Jhelum10 kernel: connection32513:0: Could not allocate pdu for
mgmt task.

Driver allocates WRB to pass login negotiated parameters information to FW
in beiscsi_offload_connection(). This allocated WRB was not freed so there
was WRB_Leak happening.

Put WRB used for posting the login-negotiated parameters back in pool.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-02-23 21:27:02 -05:00
..
be.h be2iscsi: Fix to use atomic bit operations for tag_state 2016-02-23 21:27:02 -05:00
be_cmds.c be2iscsi: Fix async link event processing 2016-02-23 21:27:02 -05:00
be_cmds.h be2iscsi: Fix async link event processing 2016-02-23 21:27:02 -05:00
be_iscsi.c be2iscsi: Fix async link event processing 2016-02-23 21:27:02 -05:00
be_iscsi.h
be_main.c be2iscsi: Fix WRB leak in login/logout path 2016-02-23 21:27:02 -05:00
be_main.h be2iscsi: Fix to process 25G link speed info from FW 2016-02-23 21:27:02 -05:00
be_mgmt.c be2iscsi: Fix to process 25G link speed info from FW 2016-02-23 21:27:02 -05:00
be_mgmt.h be2iscsi: Fix to handle misconfigured optics events 2016-02-23 21:27:02 -05:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00