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
..
2015-11-25 22:27:30 -05:00
2016-01-05 22:10:35 +01:00
2015-11-25 22:12:50 -05:00
2015-11-30 18:51:20 -05:00
2016-01-06 21:43:09 -05:00
2016-02-23 21:27:02 -05:00
2015-12-02 17:07:57 -05:00
2015-11-09 17:32:34 -08:00
2015-11-09 17:11:57 -08:00
2016-01-08 12:51:04 -05:00
2016-01-06 20:58:29 -05:00
2016-02-04 22:26:06 -05:00
2015-11-09 17:11:57 -08:00
2015-12-15 16:49:58 -05:00
2015-11-09 17:11:57 -08:00
2016-02-04 21:37:52 -08:00
2015-11-12 07:06:18 -05:00
2015-11-12 07:06:18 -05:00
2015-11-09 17:15:52 -08:00
2015-12-21 22:08:49 -05:00
2016-01-08 13:03:53 -05:00
2016-01-07 15:51:13 -08:00
2016-01-07 15:51:13 -08:00
2015-12-10 13:14:56 -05:00
2015-11-12 07:06:18 -05:00
2016-02-10 23:09:00 -08:00
2015-11-13 20:35:54 -08:00
2015-11-13 20:35:54 -08:00
2015-11-30 20:52:33 -05:00
2015-10-07 10:24:48 -07:00
2016-01-08 12:51:03 -05:00
2015-11-09 17:11:57 -08:00
2015-12-03 09:32:33 -08:00
2016-01-06 21:43:10 -05:00
2016-01-06 21:43:08 -05:00
2015-11-25 22:08:55 -05:00
2015-11-25 22:08:52 -05:00
2016-01-06 21:43:09 -05:00
2016-01-06 21:43:09 -05:00
2016-01-06 21:43:03 -05:00
2015-11-09 17:11:57 -08:00
2015-11-09 16:32:14 -08:00
2016-01-06 21:43:13 -05:00
2016-01-06 21:43:13 -05:00
2015-12-03 09:32:33 -08:00
2016-01-06 15:10:36 -05:00
2016-01-07 15:51:13 -08:00
2016-01-06 15:10:35 -05:00
2015-08-12 13:14:57 -07:00
2015-08-12 13:14:57 -07:00
2016-01-08 13:08:15 -05:00
2015-11-20 11:39:03 -05:00
2016-01-23 18:45:06 -08:00
2015-12-11 11:52:24 -08:00
2016-01-23 18:45:06 -08:00
2015-09-17 07:25:02 -07:00
2016-01-06 21:43:09 -05:00
2015-11-25 22:12:51 -05:00
2015-08-26 07:23:04 -07:00
2015-11-11 20:45:23 -05:00
2016-01-06 21:43:10 -05:00
2016-01-06 21:43:10 -05:00
2016-01-06 21:43:09 -05:00
2016-01-06 21:43:03 -05:00
2015-11-12 07:06:18 -05:00
2016-01-07 15:51:13 -08:00
2016-02-11 21:50:48 -08:00
2015-12-02 16:29:19 -05:00
2015-11-06 17:50:42 -08:00
2015-12-02 16:43:11 -05:00
2015-12-10 12:24:44 -05:00
2015-12-02 16:29:19 -05:00
2016-01-07 15:51:13 -08:00
2016-02-11 21:47:32 -08:00
2015-11-30 17:43:55 -05:00
2016-02-23 21:27:02 -05:00
2015-12-18 19:29:50 -08:00
2015-11-30 11:23:45 -05:00
2015-10-21 14:42:38 -06:00
2016-02-04 21:37:52 -08:00
2015-11-25 21:38:58 -05:00
2015-12-18 19:29:50 -08:00
2016-02-03 08:28:43 -08:00
2016-01-26 17:24:16 -08:00
2015-12-03 09:32:33 -08:00
2015-11-18 11:59:09 -05:00
2015-11-09 17:42:19 -08:00
2016-02-04 21:37:52 -08:00
2016-01-06 21:43:08 -05:00
2016-01-06 21:43:09 -05:00
2016-01-06 21:43:03 -05:00
2015-12-10 12:57:04 -05:00
2015-12-10 12:57:04 -05:00
2015-09-08 18:03:49 +01:00