mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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 (cherry picked from commit 8aa9192ce98aec07b24f8279c709237dd2c4421b)
This commit is contained in:
parent
c5e0b035d9
commit
944827bcf6
1 changed files with 1 additions and 0 deletions
|
|
@ -3088,6 +3088,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