Re: [PATCH v2] vdpa/ifc/base: fix null pointer dereference

2022-07-08 Thread Maxime Coquelin
On 7/8/22 11:10, Andy Pei wrote: Fix null pointer dereference reported in coverity scan. Output some log information when lm_cfg is null. Make sure lm_cfg is not null before operate on lm_cfg. Coverity issue: 378882 Fixes: d7fe5a2861e7 ("net/ifc: support live migration") Signed-off-by: Andy

[PATCH v2] vdpa/ifc/base: fix null pointer dereference

2022-07-08 Thread Andy Pei
Fix null pointer dereference reported in coverity scan. Output some log information when lm_cfg is null. Make sure lm_cfg is not null before operate on lm_cfg. Coverity issue: 378882 Fixes: d7fe5a2861e7 ("net/ifc: support live migration") Signed-off-by: Andy Pei --- drivers/vdpa/ifc/base/ifcvf.