DO NOT access xs after calling scsi_done(xs). It's not there anymore.
DO NOT access xs after calling scsi_done(xs). It's not there anymore.

Also set ITSDONE (a.k.a. XS_STS_DONE) in correct field - xs->flags
(a.k.a. xs->xs_control) and not xs->status (a.k.a. xs->xs_status).

'totally OK' deraadt@ 'yes' beck@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars