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 Pei <[email protected]>
---
drivers/vdpa/ifc/base/ifcvf.c | 31 ++++++++++++++++++++-----------
drivers/vdpa/ifc/base/ifcvf_osdep.h | 1 +
2 files changed, 21 insertions(+), 11 deletions(-)
Thanks, but I already applied v1 locally and did the change.
Rejecting this v2 in patchwork.
Thanks,
Maxime