Dan Carpenter e3d2612f58 scsi: qla2xxx: Fix use after free in debug code
The sp->free(sp); call frees "sp" and then the debug code dereferences
it on the next line.  Swap the order.

Link: https://lore.kernel.org/r/20210803155625.GA22735@kili
Fixes: 84318a9f01ce ("scsi: qla2xxx: edif: Add send, receive, and accept for auth_els")
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-08-05 23:21:08 -04:00
..
2021-07-11 10:59:53 -07:00
2021-07-11 10:59:53 -07:00
2021-07-12 21:41:31 -04:00
2021-05-21 17:01:18 -04:00
2021-07-11 10:59:53 -07:00
2021-06-02 01:28:21 -04:00
2021-03-24 22:54:24 -04:00
2021-06-02 01:28:21 -04:00
2021-05-31 22:48:21 -04:00
2020-03-11 23:07:59 -04:00
2021-07-11 10:59:53 -07:00
2021-07-02 15:14:36 -07:00
2021-07-11 10:59:53 -07:00
2021-07-05 13:51:41 -07:00
2021-05-31 22:48:21 -04:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:08 -05:00
2021-05-31 22:48:22 -04:00
2020-03-11 23:07:59 -04:00
2021-05-31 22:48:21 -04:00
2020-09-02 22:49:06 -04:00
2021-05-31 22:48:21 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-05-31 22:48:21 -04:00
2021-01-26 22:11:17 -05:00
2020-12-07 20:24:09 -05:00
2021-05-31 22:48:23 -04:00
2021-05-21 16:59:33 -04:00
2020-10-14 15:15:35 -07:00
2021-03-24 23:03:43 -04:00
2021-07-09 12:05:33 -07:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00
2020-02-24 15:01:57 -05:00
2021-04-06 09:28:17 -06:00
2021-05-31 22:48:21 -04:00
2021-07-02 15:14:36 -07:00
2021-04-13 00:20:48 -04:00
2021-07-02 15:14:36 -07:00
2019-07-11 15:14:01 -07:00