Skip to content
Commit 3934aa4c authored by Insu Yun's avatar Insu Yun Committed by David S. Miller
Browse files

cxgb4: correctly handling failed allocation



Since t4_alloc_mem can be failed in memory pressure,
if not properly handled, NULL dereference could be happened.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b77357b6
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