Move ccb access before ccb_done to avoid a potential use-after-free
authorjsg <jsg@openbsd.org>
Tue, 28 May 2024 01:37:53 +0000 (01:37 +0000)
committerjsg <jsg@openbsd.org>
Tue, 28 May 2024 01:37:53 +0000 (01:37 +0000)
commit6579b5f83ecd468aab94cbdca349ee60259116bd
tree33bb648f0a9d932dc97eb2cde45a59000e193550
parent9a0b8a7eed13bc7f82c216776a74a93294d526c2
Move ccb access before ccb_done to avoid a potential use-after-free
if pages can be freed from interrupt context.  ok dlg@
sys/dev/ic/ahci.c