summaryrefslogtreecommitdiffstats
path: root/net/rds/transport.c
diff options
context:
space:
mode:
authorArtem Chernyshev <artem.chernyshev@red-soft.ru>2023-09-18 15:56:23 +0200
committerDavid S. Miller <davem@davemloft.net>2023-09-20 09:49:03 +0200
commitf1d95df0f31048f1c59092648997686e3f7d9478 (patch)
tree0e2ad7248580a2b6766cfd3f829bf6ad1b6b95b7 /net/rds/transport.c
parentteam: fix null-ptr-deref when team device type is changed (diff)
downloadlinux-f1d95df0f31048f1c59092648997686e3f7d9478.tar.xz
linux-f1d95df0f31048f1c59092648997686e3f7d9478.zip
net: rds: Fix possible NULL-pointer dereference
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: fd261ce6a30e ("rds: rdma: update rdma transport for tos") Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/transport.c')
0 files changed, 0 insertions, 0 deletions