DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Pei, Andy" <andy.pei@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "Xia, Chenbo" <chenbo.xia@intel.com>,
	"Wang, Xiao W" <xiao.w.wang@intel.com>
Subject: RE: [PATCH] vdpa/ifc/base: fix null pointer dereference
Date: Fri, 8 Jul 2022 09:17:29 +0000	[thread overview]
Message-ID: <DM5PR11MB1739389BE5DBA21F6D633A7C8F829@DM5PR11MB1739.namprd11.prod.outlook.com> (raw)
In-Reply-To: <9852c8d7-aa27-f569-09a2-8039f310c0d3@redhat.com>

Hi Maxime,
Thanks for your efforts.

> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: Friday, July 8, 2022 5:11 PM
> To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org
> Cc: Xia, Chenbo <chenbo.xia@intel.com>; Wang, Xiao W
> <xiao.w.wang@intel.com>
> Subject: Re: [PATCH] vdpa/ifc/base: fix null pointer dereference
> 
> 
> 
> On 7/8/22 07:57, Andy Pei wrote:
> > Fix null pointer dereference reported in coverity scan.
> > Output some log information when lm_cfg is null.
> > Make 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 <andy.pei@intel.com>
> > ---
> >   drivers/vdpa/ifc/base/ifcvf.c       | 31 ++++++++++++++++++++-----------
> >   drivers/vdpa/ifc/base/ifcvf_osdep.h |  1 +
> >   2 files changed, 21 insertions(+), 11 deletions(-)
> >
> 
> Applied to dpdk-next-virtio/main.
> 
> Thanks,
> Maxime


      reply	other threads:[~2022-07-08  9:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  5:57 Andy Pei
2022-07-08  8:51 ` Maxime Coquelin
2022-07-08  9:11 ` Maxime Coquelin
2022-07-08  9:17   ` Pei, Andy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR11MB1739389BE5DBA21F6D633A7C8F829@DM5PR11MB1739.namprd11.prod.outlook.com \
    --to=andy.pei@intel.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=xiao.w.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).