]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
IB/rdmavt: Don't abuse udata and ib_respond_udata()
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 12 May 2026 00:09:31 +0000 (21:09 -0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 18 May 2026 08:58:42 +0000 (04:58 -0400)
commit9ebad5c3ebc77cfc4611f7ed60ea5abcb555d3a8
tree16f105f2ea667c4c32f050100b6f1d3c3fe793dd
parent55e6360d8f0e57de7d9158cb59ffc3ba43aa597f
IB/rdmavt: Don't abuse udata and ib_respond_udata()

Use copy_to_user() directly since the data is not being placed in the
udata response memory.

It is unclear why this is trying to do two copies, but leave it alone.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rdmavt/srq.c