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)
Oct 3 2024, 6:23 AM
Unknown Object (File)
Oct 3 2024, 12:14 AM
Unknown Object (File)
Oct 2 2024, 7:07 PM
Unknown Object (File)
Oct 2 2024, 5:29 PM
Unknown Object (File)
Oct 2 2024, 2:40 PM
Unknown Object (File)
Oct 2 2024, 1:12 PM
Unknown Object (File)
Oct 1 2024, 11:59 PM
Unknown Object (File)
Oct 1 2024, 7:17 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