HomeFreeBSD

isp: Fix use after free in aborts handling

Description

isp: Fix use after free in aborts handling

When aborting command waiting in restart queue remove it from the
queue before freeing it. This should fix NULL dereference panics
we saw on some very busy system.

MFC after: 2 weeks

(cherry picked from commit 40fb1b8bc1cf452d83edc5b25bc1d8bd13c0e72d)

Details

Provenance
mavAuthored on Mon, Dec 9, 4:47 PM
Parents
rG4f20dec1bf17: MFC: tail: Do not trust st_size if it equals zero.
Branches
Unknown
Tags
Unknown