android_kernel_motorola_sm6225/drivers/infiniband
Artem Chernyshev 234720cb2d RDMA/cxgb4: Check skb value for failure to allocate
[ Upstream commit 8fb8a82086f5bda6893ea6557c5a458e4549c6d7 ]

get_skb() can fail to allocate skb, so check it.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 5be78ee924 ("RDMA/cxgb4: Fix LE hash collision bug for active open connection")
Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru>
Link: https://lore.kernel.org/r/20230905124048.284165-1-artem.chernyshev@red-soft.ru
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 11:16:19 +02:00
..
core RDMA/cma: Fix truncation compilation warning in make_cma_ports 2023-10-10 21:45:02 +02:00
hw RDMA/cxgb4: Check skb value for failure to allocate 2023-10-25 11:16:19 +02:00
sw RDMA/rxe: Fix the use-before-initialization error of resp_pkts 2023-06-21 15:39:58 +02:00
ulp Revert "IB/isert: Fix incorrect release of isert connection" 2023-09-23 10:48:09 +02:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile