aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSindhu-Devale <[email protected]>2022-09-06 17:32:43 -0500
committerLeon Romanovsky <[email protected]>2022-09-07 11:22:18 +0300
commit2c8844431d065ae15a6b442f5769b60aeaaa07af (patch)
treeed3b3fce7029218d27a9b8a79f313c96d53781b8 /drivers/fpga/fpga-mgr.c
parentdcb23bbb1de7e009875fdfac2b8a9808a9319cc6 (diff)
RDMA/irdma: Use s/g array in post send only when its valid
Send with invalidate verb call can pass in an uninitialized s/g array with 0 sge's which is filled into irdma WQE and causes a HW asynchronous event. Fix this by using the s/g array in irdma post send only when its valid. Fixes: 551c46e ("RDMA/irdma: Add user/kernel shared libraries") Signed-off-by: Sindhu-Devale <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions