aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJunxian Huang <[email protected]>2024-07-10 21:36:58 +0800
committerLeon Romanovsky <[email protected]>2024-07-11 13:25:11 +0300
commit6afa2c0bfb8ef69f65715ae059e5bd5f9bbaf03b (patch)
treec8551e07833f3f54a6af38c1945c9c07092faf10 /lib/memory-notifier-error-inject.c
parentb851268018f0d63cb2069b5589bf4dbee1c74287 (diff)
RDMA/hns: Check atomic wr length
8 bytes is the only supported length of atomic. Add this check in set_rc_wqe(). Besides, stop processing WQEs and return from set_rc_wqe() if there is any error. Fixes: 384f88185112 ("RDMA/hns: Add atomic support") Signed-off-by: Junxian Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions