patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Yunjian Wang <yunjian.wang@foxmail.com>, stable@dpdk.org
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
	Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: [dpdk-stable] [PATCH 18.11] net/tap: fix mbuf double free when writev fails
Date: Fri, 26 Jun 2020 13:55:02 +0100	[thread overview]
Message-ID: <e55600fb-6c66-36c1-f038-4191e54db2fb@redhat.com> (raw)
In-Reply-To: <20200620145944.150A81261F4@zmta02.collab.prod.int.phx2.redhat.com>

On 20/06/2020 15:59, Yunjian Wang wrote:
> [ upstream commit 710aa4279097e9ee5a131b7e0732e5a8ef8bcfc1 ]
> 
> When the tap_write_mbufs() function return with break, mbuf was freed
> without increasing num_packets, which could cause applications to free
> the mbuf again. And the pmd_tx_burst() function should returns the
> number of original packets it actually sent excluding tso mbufs.
> 
> Fixes: 9396ad334672 ("net/tap: fix reported number of Tx packets")
> 
> Signed-off-by: Yunjian Wang <yunjian.wang@foxmail.com>
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
> ---

Applied, thanks. This is included in 18.11.9-rc2.


       reply	other threads:[~2020-06-26 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200620145944.150A81261F4@zmta02.collab.prod.int.phx2.redhat.com>
2020-06-26 12:55 ` Kevin Traynor [this message]
2020-06-20 14:59 Yunjian Wang

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=e55600fb-6c66-36c1-f038-4191e54db2fb@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=ferruh.yigit@intel.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=yunjian.wang@foxmail.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).