mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 15:22:21 -04:00
RDMA/irdma: Enable uverbs_robust_udata compliance flag
The irdma driver has been audited to confirm that: 1. Methods which do not accept udata input perform an explicit check for no (or zero value) input. 2. Methods which do accept input perform the correct validation to ensure that additional udata beyond the kernel's current ABI definition is zero, and to enforce the required minimum length. 3. Methods which do not return udata responses use the proper helper. Signed-off-by: Jacob Moroni <jmoroni@google.com> Link: https://patch.msgid.link/20260713171257.3131493-7-jmoroni@google.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
committed by
Leon Romanovsky
parent
628f33362e
commit
ba3156e68c
@@ -5551,6 +5551,7 @@ static const struct ib_device_ops irdma_dev_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.driver_id = RDMA_DRIVER_IRDMA,
|
||||
.uverbs_abi_ver = IRDMA_ABI_VER,
|
||||
.uverbs_robust_udata = true,
|
||||
|
||||
.alloc_hw_port_stats = irdma_alloc_hw_port_stats,
|
||||
.alloc_mr = irdma_alloc_mr,
|
||||
|
||||
Reference in New Issue
Block a user