From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] pcap: Fixed bug in eth_pcap_rx function
Date: Wed, 13 Aug 2014 01:29:39 +0200 [thread overview]
Message-ID: <2092493.KHLGrS08OS@xps13> (raw)
In-Reply-To: <F21F274FCF2C0948830A3ED003452977180210@SHSMSX104.ccr.corp.intel.com>
> > Normally, bufs[i] stores the mbuf pointer, the index of buf[i]
> > is the loop count i, but if header.len > buf_size, DPDK will
> > free the mbuf, but the loop count i still increases, so some
> > of the items in bufs[] might be NULL ponter, causing a potential
> > DPDK core. Using num_rx as the index for bufs[] solves the problem.
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
>
> Tested-by: Jiajia SunX <sunx.jiajia@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Applied for version 1.7.1
Thanks
--
Thomas
prev parent reply other threads:[~2014-08-12 23:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 10:18 Pablo de Lara
2014-08-12 2:29 ` Jiajia, SunX
2014-08-12 23:29 ` 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=2092493.KHLGrS08OS@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@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).