summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <rsahlberg@whamcloud.com>2025-06-19 12:10:31 +1000
committerJens Axboe <axboe@kernel.dk>2025-06-19 07:53:24 -0600
commit8c8472855884355caf3d8e0c50adf825f83454b2 (patch)
tree7e5a5c4774bdccef75551639d8006416b54b07a3 /lib/mpi/mpi-sub-ui.c
parentcffc873d68ab09a0432b8212008c5613f8a70a2c (diff)
ublk: santizize the arguments from userspace when adding a device
Sanity check the values for queue depth and number of queues we get from userspace when adding a device. Signed-off-by: Ronnie Sahlberg <rsahlberg@whamcloud.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Fixes: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver") Fixes: 62fe99cef94a ("ublk: add read()/write() support for ublk char device") Link: https://lore.kernel.org/r/20250619021031.181340-1-ronniesahlberg@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions