On Mon, 2019-08-19 at 12:27 +0800, zhengbin wrote: > In cma_init, if cma_configfs_init fails, need to free the > previously memory and return fail, otherwise will trigger > null-ptr-deref Read in cma_cleanup. > > cma_cleanup > cma_configfs_exit > configfs_unregister_subsystem > > Fixes: 045959db65c6 ("IB/cma: Add configfs for rdma_cm") > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx> Thanks, applied to for-rc. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part