patches for DPDK stable branches
 help / color / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Cian Ferriter <cian.ferriter@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org, rchibois@gmail.com
Subject: Re: [dpdk-stable] [PATCH] net/pcap: fix possible crash on exit for infinite Rx
Date: Mon, 12 Oct 2020 18:08:53 +0100
Message-ID: <ff4ec94c-d103-1d4b-b1a2-cbe223d00860@intel.com> (raw)
In-Reply-To: <20201009161649.1365261-1-ferruh.yigit@intel.com>

On 10/9/2020 5:16 PM, Ferruh Yigit wrote:
> If the infinite Rx argument ('infinite_rx') is provided a ring is
> allocated and filled in the '.rx_queue_setup' dev_ops.
> Later this ring freed in the '.dev_close' dev_ops.
> 
> If the 'infinite_rx' provided and '.dev_close' called before
> '.rx_queue_setup', the ring will be NULL and trying to empty/free it
> will cause a crash.
> 
> This is fixed by adding ring NULL check before trying to empty/free it.
> 
> Bugzilla ID: 548
> Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/main, thanks.


      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 16:16 Ferruh Yigit
2020-10-12 17:08 ` Ferruh Yigit [this message]

Reply instructions:

You may reply publically 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=ff4ec94c-d103-1d4b-b1a2-cbe223d00860@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=cian.ferriter@intel.com \
    --cc=dev@dpdk.org \
    --cc=rchibois@gmail.com \
    --cc=stable@dpdk.org \
    /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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/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 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


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