diff options
author | Insu Yun <wuninsu@gmail.com> | 2015-12-29 17:20:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-04 17:18:42 -0500 |
commit | 3934aa4c1f7f4ccdff25f530b0e37d776ac453e2 (patch) | |
tree | 6089a510198e507a9b378683a9715e6c94e05fa9 /drivers/connector/connector.c | |
parent | b77357b69225a8e68d222451911feab50f2c6652 (diff) | |
download | linux-stable-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.tar.gz linux-stable-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.tar.bz2 linux-stable-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.zip |
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: Insu Yun <wuninsu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector/connector.c')
0 files changed, 0 insertions, 0 deletions