Page MenuHomeFreeBSD

nvme: Sanity check completion id
ClosedPublic

Authored by imp on Sep 24 2021, 12:11 AM.
Tags
None
Referenced Files
F81591438: D32088.diff
Thu, Apr 18, 3:18 PM
Unknown Object (File)
Tue, Apr 16, 12:00 PM
Unknown Object (File)
Fri, Apr 12, 8:21 AM
Unknown Object (File)
Fri, Apr 5, 1:44 AM
Unknown Object (File)
Thu, Apr 4, 9:33 PM
Unknown Object (File)
Mar 7 2024, 11:49 PM
Unknown Object (File)
Jan 31 2024, 10:23 PM
Unknown Object (File)
Jan 14 2024, 4:37 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