linux-stable/drivers/infiniband/hw/cxgb4
Artem Chernyshev 8fb8a82086 RDMA/cxgb4: Check skb value for failure to allocate
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>
2023-09-11 14:55:53 +03:00
..
cm.c RDMA/cxgb4: Check skb value for failure to allocate 2023-09-11 14:55:53 +03:00
cq.c RDMA/cxgb4: remove unnecessary NULL check in __c4iw_poll_cq_one() 2022-12-27 15:27:59 +02:00
device.c RDMA: Remove redundant 'flush_workqueue()' calls 2021-10-12 13:21:23 -03:00
ev.c RDMA/iw_cxgb4: Fix refcount underflow while destroying cqs. 2021-08-05 22:33:00 -03:00
id_table.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
iw_cxgb4.h RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
mem.c RDMA/cxgb4: Remove MW support 2020-10-26 19:27:44 -03:00
provider.c RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
qp.c RDMA/cxgb4: Set sq_sig_type correctly 2023-08-13 10:26:11 +03:00
resource.c RDMA/cxgb4: add missing qpid increment 2021-04-20 09:36:00 -03:00
restrack.c iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() 2023-02-15 13:37:37 +02:00
t4.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00
t4fw_ri_api.h RDMA/cxgb4: Replace 0-length arrays with flexible arrays 2023-01-15 12:09:26 +02:00