Karan Tilak Kumar
15924b0503
scsi: fnic: Replace sgreset tag with max_tag_id
...
sgreset is issued with a SCSI command pointer. The device reset code
assumes that it was issued on a hardware queue, and calls block multiqueue
layer. However, the assumption is broken, and there is no hardware queue
associated with the sgreset, and this leads to a crash due to a null
pointer exception.
Fix the code to use the max_tag_id as a tag which does not overlap with the
other tags issued by mid layer.
Tested by running FC traffic for a few minutes, and by issuing sgreset on
the device in parallel. Without the fix, the crash is observed right away.
With this fix, no crash is observed.
Reviewed-by: Sesidhar Baddela <sebaddel@cisco.com>
Tested-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Karan Tilak Kumar <kartilak@cisco.com>
Link: https://lore.kernel.org/r/20230817182146.229059-1-kartilak@cisco.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-08-25 17:15:09 -04:00
..
2023-08-24 22:11:29 -04:00
2023-07-31 11:28:55 -04:00
2023-08-21 17:50:59 -04:00
2023-08-21 16:27:10 -04:00
2023-03-24 19:19:21 -04:00
2023-07-25 21:49:32 -04:00
2023-08-21 17:13:56 -04:00
2022-05-16 21:26:50 -04:00
2023-05-26 13:52:19 -07:00
2023-03-09 22:00:38 -05:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-03-16 23:02:23 -04:00
2023-08-21 17:13:56 -04:00
2023-04-27 16:36:55 -07:00
2023-08-21 17:13:56 -04:00
2023-08-25 17:15:09 -04:00
2023-08-24 21:06:16 -04:00
2023-05-26 13:52:18 -07:00
2023-03-16 23:36:36 -04:00
2023-08-24 21:06:16 -04:00
2022-12-01 03:03:36 +00:00
2023-08-24 21:06:16 -04:00
2023-08-21 17:13:57 -04:00
2023-08-21 16:47:44 -04:00
2023-08-07 21:41:48 -04:00
2023-04-11 21:00:37 -04:00
2023-08-21 17:50:58 -04:00
2023-05-31 19:59:26 -04:00
2023-08-24 21:06:16 -04:00
2023-08-24 22:09:04 -04:00
2023-08-24 22:09:04 -04:00
2023-08-25 17:07:34 -04:00
2023-07-25 21:51:04 -04:00
2023-08-24 22:58:36 -04:00
2023-06-16 12:19:59 -04:00
2023-05-31 18:04:30 -04:00
2023-05-26 13:52:19 -07:00
2023-03-24 19:19:20 -04:00
2023-01-12 00:09:52 -05:00
2023-05-22 17:31:56 -04:00
2022-09-25 13:06:00 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:20 -04:00
2023-06-12 08:04:04 -06:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2022-08-01 19:52:03 -04:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:37:11 -04:00
2023-08-21 16:42:03 -04:00
2023-03-24 20:13:03 -04:00
2023-05-26 13:52:19 -07:00
2022-09-25 13:04:17 -04:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:04 -05:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:05 -05:00
2023-04-24 23:11:47 -04:00
2023-04-18 23:01:23 -04:00
2023-01-18 18:41:12 -05:00
2023-06-24 15:50:13 -07:00
2023-06-24 15:50:13 -07:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:32:40 -04:00
2021-08-30 10:18:25 +02:00
2022-06-21 21:19:23 -04:00
2023-03-24 19:19:57 -04:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:35:30 -05:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2022-06-27 22:56:21 -04:00
2023-03-24 20:27:17 -04:00
2022-02-22 21:11:05 -05:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:34:02 -05:00
2023-03-24 19:19:57 -04:00
2023-08-24 22:11:29 -04:00
2023-01-12 00:11:11 -05:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:58 -04:00
2023-06-21 21:13:00 -04:00
2022-02-22 21:11:07 -05:00
2023-05-22 15:13:03 -10:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:58 -04:00
2022-02-22 21:11:06 -05:00
2023-08-21 17:13:56 -04:00
2022-03-29 23:32:26 -04:00
2023-08-21 16:32:40 -04:00
2023-08-21 16:32:40 -04:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:06 -05:00
2022-02-22 21:11:02 -05:00
2022-02-22 21:11:02 -05:00
2023-08-21 16:37:11 -04:00
2023-06-12 08:04:04 -06:00
2023-05-31 11:05:34 -04:00
2023-04-18 22:58:50 -04:00
2023-08-24 22:13:03 -04:00
2023-03-16 22:54:43 -04:00
2023-05-22 17:05:19 -04:00
2023-06-12 08:04:04 -06:00
2023-08-24 22:11:29 -04:00
2022-03-29 23:29:19 -04:00
2021-12-22 23:38:29 -05:00
2023-08-24 22:11:29 -04:00
2022-10-18 03:17:09 +00:00
2023-08-24 22:11:29 -04:00
2023-04-13 11:49:20 -07:00
2023-08-24 22:11:29 -04:00
2023-06-16 12:19:59 -04:00
2023-07-25 21:48:13 -04:00
2023-05-22 17:05:19 -04:00
2023-01-13 21:34:09 -05:00
2023-06-16 12:19:59 -04:00
2023-06-28 21:47:09 -04:00
2022-05-08 14:28:18 -04:00
2023-02-21 22:00:32 -05:00
2022-12-01 03:13:55 +00:00
2023-06-16 12:04:31 -04:00
2023-08-24 22:18:47 -04:00
2022-08-22 22:45:25 -04:00
2023-04-27 11:53:57 -07:00
2023-06-30 11:57:07 -07:00
2023-03-24 19:19:59 -04:00
2023-01-13 21:34:09 -05:00
2021-12-22 23:41:13 -05:00
2023-06-30 11:57:07 -07:00
2022-03-08 19:40:01 -07:00
2023-08-24 22:16:28 -04:00
2022-03-08 19:40:00 -07:00
2023-05-31 11:36:40 -04:00
2023-08-24 22:11:29 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:22 -04:00
2023-07-23 15:49:41 -04:00
2023-08-24 22:11:29 -04:00
2022-04-06 23:01:54 -04:00
2022-06-07 21:30:56 -04:00
2022-09-25 13:29:53 -04:00
2022-09-25 13:29:53 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:07 -05:00
2023-08-24 22:06:44 -04:00
2022-02-22 21:11:07 -05:00
2022-03-30 00:05:42 -04:00
2023-03-24 19:19:22 -04:00