kernel_samsung_a53x/drivers/infiniband/ulp
Bart Van Assche 4c13e6dda0 RDMA/srpt: Support specifying the srpt_service_guid parameter
[ Upstream commit fdfa083549de5d50ebf7f6811f33757781e838c0 ]

Make loading ib_srpt with this parameter set work. The current behavior is
that setting that parameter while loading the ib_srpt kernel module
triggers the following kernel crash:

BUG: kernel NULL pointer dereference, address: 0000000000000000
Call Trace:
 <TASK>
 parse_one+0x18c/0x1d0
 parse_args+0xe1/0x230
 load_module+0x8de/0xa60
 init_module_from_file+0x8b/0xd0
 idempotent_init_module+0x181/0x240
 __x64_sys_finit_module+0x5a/0xb0
 do_syscall_64+0x5f/0xe0
 entry_SYSCALL_64_after_hwframe+0x6e/0x76

Cc: LiHonggang <honggangli@163.com>
Reported-by: LiHonggang <honggangli@163.com>
Fixes: a42d985bd5b2 ("ib_srpt: Initial SRP Target merge for v3.3-rc1")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240205004207.17031-1-bvanassche@acm.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 22:25:39 +01:00
..
ipoib IB/ipoib: Fix mcast list locking 2024-11-18 12:13:18 +01:00
iser IB/iser: Prevent invalidating wrong MR 2024-11-18 12:12:43 +01:00
isert Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opa_vnic Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtrs RDMA/rtrs-clt: Remove the warnings for req in_use check 2024-11-18 12:11:41 +01:00
srp RDMA/srp: Fix srp_abort() 2024-11-08 11:26:06 +01:00
srpt RDMA/srpt: Support specifying the srpt_service_guid parameter 2024-11-18 22:25:39 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00