linux/drivers/infiniband/sw/rxe
Daisuke Matsuda 837a55847e 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>
2022-11-09 19:54:57 +02:00
..
Kconfig RDMA/rxe: Fix missing kconfig dependency on CRYPTO 2021-03-01 14:46:31 -04:00
Makefile RDMA/rxe: Delete deprecated module parameters interface 2022-01-05 15:18:47 -04:00
rxe_av.c RDMA/rxe: Use standard names for ref counting 2022-03-16 10:34:42 -03:00
rxe_comp.c RDMA/rxe: Split rxe_run_task() into two subroutines 2022-10-28 13:47:15 -03:00
rxe_cq.c RDMA/rxe: Convert pr_warn/err to pr_debug in pyverbs 2022-06-30 20:45:00 -03:00
rxe_hdr.h RDMA/rxe: Remove unused pkt->offset 2021-02-16 14:42:59 -04:00
rxe_hw_counters.c RDMA/counter: Add a descriptor in struct rdma_hw_stats 2021-10-12 12:48:04 -03:00
rxe_hw_counters.h RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
rxe_icrc.c RDMA/rxe: Remove error/warning messages from packet receiver path 2022-09-29 12:57:56 +03:00
rxe_loc.h RDMA/rxe: Set pd early in mr alloc routines 2022-09-27 10:15:24 -03:00
rxe_mcast.c RDMA/rxe: Fix an error handling path in rxe_get_mcg() 2022-05-24 12:55:12 -03:00
rxe_mmap.c RDMA/rxe: Delete useless module.h include 2022-01-28 13:03:13 -04:00
rxe_mr.c RDMA/rxe: Remove the duplicate assignment of mr->map_shift 2022-10-28 15:08:41 -03:00
rxe_mw.c RDMA/rxe: Make sure requested access is a subset of {mr,mw}->access 2022-10-28 14:39:47 -03:00
rxe_net.c RDMA/rxe: Split rxe_run_task() into two subroutines 2022-10-28 13:47:15 -03:00
rxe_net.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_opcode.c RDMA/rxe: Remove support for SMI QPs from rdma_rxe 2022-04-08 14:38:33 -03:00
rxe_opcode.h RDMA/rxe: Remove unused WR_READ_WRITE_OR_SEND_MASK 2021-09-28 11:42:24 -03:00
rxe_param.h RDMA/rxe: Limit the number of calls to each tasklet 2022-07-22 17:43:00 -03:00
rxe_pool.c RDMA/rxe: Convert read side locking to rcu 2022-06-30 10:56:05 -03:00
rxe_pool.h RDMA/rxe: Stop lookup of partially built objects 2022-06-30 10:56:01 -03:00
rxe_qp.c RDMA/rxe: Split rxe_run_task() into two subroutines 2022-10-28 13:47:15 -03:00
rxe_queue.c RDMA/rxe: Fix resize_finish() in rxe_queue.c 2022-09-27 10:15:24 -03:00
rxe_queue.h RDMA/rxe: Replace include statement 2022-06-30 20:45:00 -03:00
rxe_recv.c RDMA/rxe: Remove error/warning messages from packet receiver path 2022-09-29 12:57:56 +03:00
rxe_req.c RDMA/rxe: Split rxe_run_task() into two subroutines 2022-10-28 13:47:15 -03:00
rxe_resp.c RDMA/rxe: Implement packet length validation on responder 2022-11-09 19:54:57 +02:00
rxe_srq.c RDMA/rxe: Add rxe_srq_cleanup() 2022-05-09 09:03:39 -03:00
rxe_task.c RDMA/rxe: Rename task->state_lock to task->lock 2022-10-28 13:47:16 -03:00
rxe_task.h RDMA/rxe: Rename task->state_lock to task->lock 2022-10-28 13:47:16 -03:00
rxe_verbs.c RDMA/rxe: cleanup some error handling in rxe_verbs.c 2022-10-28 15:11:44 -03:00
rxe_verbs.h RDMA/rxe: Remove the member 'type' of struct rxe_mr 2022-10-24 14:50:14 +03:00
rxe.c RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
rxe.h RDMA/rxe: Delete useless module.h include 2022-01-28 13:03:13 -04:00