forked from luck/tmp_suning_uos_patched
b3958d3151
commit f3136c4ce7acf64bee43135971ca52a880572e32 upstream.
The failure to allocate memory during MLX4_DEV_EVENT_PORT_MGMT_CHANGE
event handler will cause skip the assignment logic, but
ib_dispatch_event() will be called anyway.
Fix it by calling to return instead of break after memory allocation
failure.
Fixes:
|
||
---|---|---|
.. | ||
ah.c | ||
alias_GUID.c | ||
cm.c | ||
cq.c | ||
doorbell.c | ||
Kconfig | ||
mad.c | ||
main.c | ||
Makefile | ||
mcg.c | ||
mlx4_ib.h | ||
mr.c | ||
qp.c | ||
srq.c | ||
sysfs.c |