DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Yuying Zhang <yuying.zhang@intel.com>
Cc: dev <dev@dpdk.org>, Maxime Coquelin <maxime.coquelin@redhat.com>,
	 "Xia, Chenbo" <chenbo.xia@intel.com>,
	dpdk stable <stable@dpdk.org>
Subject: Re: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts
Date: Tue, 1 Mar 2022 09:43:54 +0100	[thread overview]
Message-ID: <CAJFAV8wtShAeacbN-pjSTKw289qObJy8YxbV2fq_X8wpRoQ2qw@mail.gmail.com> (raw)
In-Reply-To: <20220301072802.1349736-1-yuying.zhang@intel.com>

On Tue, Mar 1, 2022 at 8:29 AM Yuying Zhang <yuying.zhang@intel.com> wrote:
>
> The PMD frees a packet mbuf back into its original mempool
> after sending a packet. However, old data is not cleaned up
> which causes error in payload of new packets. This patch clear
> data of packet mbuf before freeing mbuf.

This patch looks wrong to me.
What is the actual issue you want to fix?


-- 
David Marchand


  parent reply	other threads:[~2022-03-01  8:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  7:28 Yuying Zhang
2022-03-01  8:38 ` Ling, WeiX
2022-03-01  8:43 ` David Marchand [this message]
2022-03-01  9:02   ` Zhang, Yuying
2022-03-01  9:47     ` David Marchand
2022-03-01 17:05       ` Stephen Hemminger
2022-03-02  8:58       ` Zhang, Yuying
2022-03-03  6:49         ` Xia, Chenbo

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=CAJFAV8wtShAeacbN-pjSTKw289qObJy8YxbV2fq_X8wpRoQ2qw@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=stable@dpdk.org \
    --cc=yuying.zhang@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).