diff options
author | Daisuke Matsuda <matsuda-daisuke@fujitsu.com> | 2022-11-07 14:53:38 +0900 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-11-09 19:54:57 +0200 |
commit | 837a55847ead27362aac80aa1cf402459a9757f7 (patch) | |
tree | fd63826b1fcdd1143879c28f22b10dec7da65790 /include | |
parent | bdf1da5df9da680589a7f74448dd0a94dd3e1446 (diff) |
RDMA/rxe: Implement packet length validation on responder
The function check_length() is supposed to check the length of inbound
packets on responder, but it actually has been a stub since the driver was
born. Let it check the payload length and the DMA length.
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Link: https://lore.kernel.org/r/20221107055338.357184-1-matsuda-daisuke@fujitsu.com
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions