diff options
| author | 2026-09-21 23:12:23 -0700 | |
|---|---|---|
| committer | 2026-09-29 04:41:12 -0400 | |
| commit | 3483cbbd7487163345b4b4d5eb8cad8540d1c3ba (patch) | |
| tree | 108d26568e57e8a4374563f0546e2178dc049ffb /scripts/Makefile.thinlto | |
| parent | RDMA/mana_ib: Poll UD completions and flush software error QPs (diff) | |
RDMA/bnxt_re: Fix integer overflow in send payload size computation
bnxt_re_build_sgl() summed SGE lengths into a signed int, which could
overflow. Make it return u32, and have bnxt_re_copy_wr_payload() report
the size via a u32 out-parameter with the return value carrying only
the error status, instead of overloading a signed int with both.
Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
