Page MenuHomeFreeBSD

nvme: Sanity check completion id
ClosedPublic

Authored by imp on Sep 24 2021, 12:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 2:38 PM
Unknown Object (File)
Wed, Jun 10, 2:43 AM
Unknown Object (File)
Mon, Jun 8, 4:28 PM
Unknown Object (File)
Wed, May 20, 11:40 PM
Unknown Object (File)
May 17 2026, 8:21 PM
Unknown Object (File)
May 17 2026, 8:21 PM
Unknown Object (File)
Apr 27 2026, 10:03 AM
Unknown Object (File)
Apr 26 2026, 7:22 PM
Subscribers

Details

Summary

Make sure the completion ID is in the range of [0..num_trackers) since
the values past the end of the act_tr array are never going to be valid
trackers and will lead to pain and suffering if we try to dereference
them to get the tracker or to set the tracker back to NULL as we
complete the I/O.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable