HomeFreeBSD

mpi3mr: Only set callout_owned when we create a timeout

Description

mpi3mr: Only set callout_owned when we create a timeout

Since we assume there's a timeout to cancel when this is true, only set
it true when we set the timeout. Otherwise we may try to cancel a timeout
when there's been an error in submission.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D42541

(cherry picked from commit 1cfd01111eb6a28ca5043e928aa8e9099064177a)

Details

Provenance
impAuthored on Nov 29 2023, 1:49 AM
mavCommitted on Jan 19 2024, 5:16 PM
Reviewer
mav
Differential Revision
D42541: mpi3mr: Only set callout_owned when we create a timeout
Parents
rG3c12997a1c76: mpi3mr: Minor style fix
Branches
Unknown
Tags
Unknown