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)
Sun, May 17, 8:21 PM
Unknown Object (File)
Sun, May 17, 8:21 PM
Unknown Object (File)
Mon, Apr 27, 10:03 AM
Unknown Object (File)
Sun, Apr 26, 7:22 PM
Unknown Object (File)
Sat, Apr 25, 10:21 AM
Unknown Object (File)
Sat, Apr 25, 12:46 AM
Unknown Object (File)
Fri, Apr 24, 2:14 PM
Unknown Object (File)
Apr 11 2026, 4:54 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