HomeFreeBSD

ipmi: remove timeout from the ipmi_driver_request method

Description

ipmi: remove timeout from the ipmi_driver_request method

Driver requests are done with stack allocated request. The request is
put on the tailq and then we msleep(9) until kernel process processes it.
If we timeout from this sleep, the kernel process may still read the
request from our stack, which may already be reused by some other code.

Make this sleep unbound and rely on the kernel process that does all its
I/O with timouts and will eventually wake us up.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D47179

Details

Provenance
glebiusAuthored on Oct 18 2024, 7:30 PM
Reviewer
jhb
Differential Revision
D47179: ipmi: remove timeout from the ipmi_driver_request method
Parents
rG3b2cf9381ef8: amd64: do not pass -z rodynamic to ld.bfd when building vdso
Branches
Unknown
Tags
Unknown