aboutsummaryrefslogtreecommitdiff
path: root/lib/librt
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-10-17 16:09:27 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-10-17 16:09:27 +0000
commitd1516ec33e6600f6aae3243119aeb14762dc9f97 (patch)
tree0844f30781e127905176a92fe16c82741ee57065 /lib/librt
parentb08d332da035e11bfc9373f2d08244cb3e10cda4 (diff)
downloadsrc-main.tar.gz
src-main.zip
nvmf: Fail pass through commands while a controller is not associatedHEADmain
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
Diffstat (limited to 'lib/librt')
0 files changed, 0 insertions, 0 deletions