mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
isp: fix ISPCTL_ABORT_CMD switch case
Prevent kernel panic by not running ISPCTL_FCLINK_TEST after a failed ISPCTL_ABORT_CMD. Reviewed by: mav Tested by: Arne Steinkamm <arne@steinkamm.com> MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45718
This commit is contained in:
parent
44d4ee7f3d
commit
8aa9192ce9
|
@ -3099,6 +3099,7 @@ isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
|
|||
if (ab->abrt_nphdl == ISP24XX_ABRT_OKAY)
|
||||
return (0);
|
||||
isp_prt(isp, ISP_LOGWARN, "Chan %d handle %d abort returned 0x%x", chan, tgt, ab->abrt_nphdl);
|
||||
break;
|
||||
}
|
||||
case ISPCTL_FCLINK_TEST:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue