HomeFreeBSD

done_ccb pointer can be used if it is NULL.

Description

done_ccb pointer can be used if it is NULL.

To prevent this, move check for done_ccb == NULL to before done_ccb is used in
mprsas_stop_unit_done().

Reviewed by: ken, scottl, ambrisko, asomers
Approved by: ken, scottl, ambrisko
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6099

Details

Committed
slmMay 9 2016, 4:34 PM
Reviewer
ken
Differential Revision
D6099: Move check for (done_ccb == NULL)
Parents
rS299271: Use callout_reset_sbt() instead of callout_reset() if FreeBSD ver is >= 1000029
Branches
Unknown
Tags
Unknown