diff options
author | Sindhu-Devale <sindhu.devale@intel.com> | 2022-09-07 01:32:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-20 13:43:50 +0300 |
commit | 693ccecee08375c26f1184789e5d49f446a8f164 (patch) | |
tree | f70736b52c0d378aadf49fffdbfe96dfc56e3686 /Documentation/rapidio | |
parent | 1989b17301f8e9ea41aa78a701bc5d70af0549fd (diff) | |
download | linux-693ccecee08375c26f1184789e5d49f446a8f164.tar.xz |
RDMA/irdma: Use s/g array in post send only when its valid
commit 2c8844431d065ae15a6b442f5769b60aeaaa07af upstream.
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 <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20220906223244.1119-5-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/rapidio')
0 files changed, 0 insertions, 0 deletions