mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
Previously this just dereferenced NULL qp pointers and panicked. Instead, use a shared lock on the connection lock to protect access to the qp pointers and allocate a request. If the controller is not associated, fail the request with ECONNABORTED. Possibly this should be honoring kern.nvmf.fail_on_disconnection and block waiting for a reconnect request while disconnected if that tunable is false. Reported by: Suhas Lokesha <suhas@chelsio.com> Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| nvmf.c | ||
| nvmf_aer.c | ||
| nvmf_cmd.c | ||
| nvmf_ctldev.c | ||
| nvmf_ns.c | ||
| nvmf_qpair.c | ||
| nvmf_sim.c | ||
| nvmf_var.h | ||