Skip to content
Commit c874ad87 authored by Kang Chen's avatar Kang Chen Committed by Leon Romanovsky
Browse files

IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init



kzalloc_node may fails, check it and do the cleanup.

Fixes: b1151b74 ("IB/hfi1: Fix alloc failure with larger txqueuelen")
Signed-off-by: default avatarKang Chen <void0red@gmail.com>
Link: https://lore.kernel.org/r/20230227100212.910820-1-void0red@gmail.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent eeac8ede
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment