aboutsummaryrefslogtreecommitdiff
path: root/lib/libkldelf/ef_i386.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-10-08 03:08:57 +0000
committerWarner Losh <imp@FreeBSD.org>2024-10-08 04:22:40 +0000
commit6c711019f289320f38eda47dcb55b188342a4476 (patch)
tree50ec14985e933998fbcec14a6227e0941f25d015 /lib/libkldelf/ef_i386.c
parent3ebb738a93139fd2f8826a62b5f282480f2e19d5 (diff)
downloadsrc-6c711019f289320f38eda47dcb55b188342a4476.tar.gz
src-6c711019f289320f38eda47dcb55b188342a4476.zip
nvme: Don't create sysctl for io queues not created
When we can't set the number of I/O queues ont he admin queue, we continue on. However, we don't create the I/O queue structures, so having pointers (NULL) into them for sysctls makes no sense and leads to a panic when accessed. When summing up different stats, also skip the ioq stats when it's NULL. Sponsored by: Netflix
Diffstat (limited to 'lib/libkldelf/ef_i386.c')
0 files changed, 0 insertions, 0 deletions