diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2026-05-11 21:09:36 -0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-05-18 04:58:42 -0400 |
| commit | 0d10dd1388f8727402d07269640e44b78f79eb05 (patch) | |
| tree | 3c7b59d7a13e641189c838c7e4a614759d4ee817 /scripts/objdiff | |
| parent | 49e9e655619194cabbac4e9b4032fc26dd5305f2 (diff) | |
RDMA/mlx: Replace response_len with ib_respond_udata()
The Mellanox drivers have a pattern where they compute the response
length they think they need based on what the user asked for, then
blindly write that ignoring the provided size limit on the response
structure.
Drop this and just use ib_respond_udata() which caps the response
struct to the user's memory, which is fine for what mlx5 is doing.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
