DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Kevin Laatz <kevin.laatz@intel.com>
Cc: dev@dpdk.org, bruce.richardson@intel.com
Subject: Re: [dpdk-dev] [PATCH] raw/ioat: fix kvlist free
Date: Mon, 19 Oct 2020 10:45:45 +0200
Message-ID: <3292966.k0Lp3giagg@thomas> (raw)
In-Reply-To: <20201014100948.1210209-1-kevin.laatz@intel.com>

14/10/2020 12:09, Kevin Laatz:
> There is a null pointer check in 'idxd_vdev_parse_params()' which is
> causing a coverity issue. This check is redundant as the same check is
> being done in 'rte_kvargs_free()', so it is simply removed in this patch.
> 
> In addition, kvlist was only being free'd on one path in this function.
> This is fixed by always free'ing kvlist before returning.
> 
> Coverity issue: 363049
> Fixes: 777edf43ae4f ("raw/ioat: introduce vdev probe for DSA/idxd device")
> 
> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>

Applied, thanks




      reply	other threads:[~2020-10-19  8:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 10:09 Kevin Laatz
2020-10-19  8:45 ` Thomas Monjalon [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=3292966.k0Lp3giagg@thomas \
    --to=thomas@monjalon.net \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=kevin.laatz@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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git