9772 Panic in ahci when the failed slot spkt is NULL

Review Request #1186 — Created Aug. 28, 2018 and submitted

citrus
illumos-gate
master
9772
5462cdf...
general
9772 Panic in ahci when the failed slot spkt is NULL

ahci_dump_commands() is called from ahci_intr_fatal_error().
When deciding whether to log the error, ahci_intr_fatal_error() looks up the spkt and checks that it is not NULL and if it meets certain criteria.
However, if it is NULL then there is still a code path where ahci_dump_commands() is called with instructions to dump the command stored in the slot.

Fix (i.e. no more kernel panic) confirmed by affected user.

andy_js
  1. Ship It!
  2. 
      
tsoome
  1. Ship It!
  2. 
      
citrus
Review request changed

Status: Closed (submitted)

Loading...