diff options
author | Artem Chernyshev <artem.chernyshev@red-soft.ru> | 2023-09-05 15:40:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-25 11:53:17 +0200 |
commit | ffdd8f56a46b7b537126618116b0bfa10b031ca4 (patch) | |
tree | 43172a5c88cadaa747ab6437d071ad6ead67a34c /lib | |
parent | 02f78c59a0ed312a41d5d76397ea812c7cb19cb2 (diff) |
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: 5be78ee924ae ("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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions