Skip to content
Commit b7966e21 authored by Artem Chernyshev's avatar Artem Chernyshev Committed by Greg Kroah-Hartman
Browse files

RDMA/cxgb4: Check skb value for failure to allocate

[ Upstream commit 8fb8a820 ]

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

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

Fixes: 5be78ee9

 ("RDMA/cxgb4: Fix LE hash collision bug for active open connection")
Signed-off-by: default avatarArtem Chernyshev <artem.chernyshev@red-soft.ru>
Link: https://lore.kernel.org/r/20230905124048.284165-1-artem.chernyshev@red-soft.ru


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b9bdffb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment