From: Yongseok Koh <yskoh@mellanox.com>
To: Radu Nicolau <radu.nicolau@intel.com>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [17.11] examples/bond: fix crash when there is no active slave
Date: Tue, 12 Mar 2019 22:19:49 +0000 [thread overview]
Message-ID: <65633994-82F3-4ECC-9385-EDD90EAF08D9@mellanox.com> (raw)
In-Reply-To: <1552392830-6198-1-git-send-email-radu.nicolau@intel.com>
> On Mar 12, 2019, at 5:13 AM, Radu Nicolau <radu.nicolau@intel.com> wrote:
>
> [ backported from upstream commit 292fdb76024f ]
>
> If bond_ethdev_rx_burst() called more times with no active slaves
> the active slave index will point out of bounds, resulting in a
> segfault.
> The configured slaves needs to be checked, and if none became active
> there is no point going further.
>
> Do not start the packet processing threads until all configured
> slaves become active.
>
> Fixes: cc7e8ae84faa ("examples/bond: add example application for link bonding mode 6")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> Acked-by: Chas Williams <chas3@att.com>
> ---
applied to stable/17.11
Thanks,
Yongseok
prev parent reply other threads:[~2019-03-12 22:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 12:13 Radu Nicolau
2019-03-12 22:19 ` Yongseok Koh [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=65633994-82F3-4ECC-9385-EDD90EAF08D9@mellanox.com \
--to=yskoh@mellanox.com \
--cc=radu.nicolau@intel.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
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).