6031e079aa
We accidentally forgot to set the error code if ib_copy_from_udata()
fails. It means we return ERR_PTR(0) which is NULL and results in a
NULL dereference in the callers.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
i40iw.h | ||
i40iw_cm.c | ||
i40iw_cm.h | ||
i40iw_ctrl.c | ||
i40iw_d.h | ||
i40iw_hmc.c | ||
i40iw_hmc.h | ||
i40iw_hw.c | ||
i40iw_main.c | ||
i40iw_osdep.h | ||
i40iw_p.h | ||
i40iw_pble.c | ||
i40iw_pble.h | ||
i40iw_puda.c | ||
i40iw_puda.h | ||
i40iw_register.h | ||
i40iw_status.h | ||
i40iw_type.h | ||
i40iw_ucontext.h | ||
i40iw_uk.c | ||
i40iw_user.h | ||
i40iw_utils.c | ||
i40iw_verbs.c | ||
i40iw_verbs.h | ||
i40iw_vf.c | ||
i40iw_vf.h | ||
i40iw_virtchnl.c | ||
i40iw_virtchnl.h |