mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
In rds_rdma_cm_event_handler_cmn() check, if conn pointer exists
before dereferencing it as rdma_set_service_type() argument
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: fd261ce6a3 ("rds: rdma: update rdma transport for tos")
Signed-off-by: Artem Chernyshev <[email protected]>
Signed-off-by: David S. Miller <[email protected]>