From: Rami Rosen <ramirose@gmail.com>
To: Raslan Darawsheh <rasland@mellanox.com>
Cc: "keith.wiles@intel.com" <keith.wiles@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>,
Thomas Monjalon <thomas@monjalon.net>,
"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/tap: fix multi process request
Date: Tue, 26 Feb 2019 12:13:25 +0200 [thread overview]
Message-ID: <CAHLOa7Q6whN1b5j-=0w+cMwkheNiZcPbkS1nsUeZ6tqJeKpkkg@mail.gmail.com> (raw)
In-Reply-To: <1551174642-14048-1-git-send-email-rasland@mellanox.com>
Reviewed-by: Rami Rosen <ramirose at gmail.com>
On Tue, Feb 26, 2019 at 11:51 AM Raslan Darawsheh <rasland@mellanox.com>
wrote:
> The structure was not initialized.
>
> Fixes: c9aa56edec8e ("net/tap: access primary process queues from
> secondary")
> Cc: stable@dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
> ---
> drivers/net/tap/rte_eth_tap.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
> index 586c8a9..6f5109f 100644
> --- a/drivers/net/tap/rte_eth_tap.c
> +++ b/drivers/net/tap/rte_eth_tap.c
> @@ -2086,6 +2086,7 @@ tap_mp_attach_queues(const char *port_name, struct
> rte_eth_dev *dev)
> int queue, fd_iterator;
>
> /* Prepare the request */
> + memset(&request, 0, sizeof(request));
> strlcpy(request.name, TAP_MP_KEY, sizeof(request.name));
> strlcpy(request_param->port_name, port_name,
> sizeof(request_param->port_name));
> --
> 2.7.4
>
>
--
regards,
Rami Rosen
next prev parent reply other threads:[~2019-02-26 10:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-26 9:50 [dpdk-stable] " Raslan Darawsheh
2019-02-26 10:13 ` Rami Rosen [this message]
2019-02-26 10:57 ` [dpdk-stable] [dpdk-dev] " Ferruh Yigit
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='CAHLOa7Q6whN1b5j-=0w+cMwkheNiZcPbkS1nsUeZ6tqJeKpkkg@mail.gmail.com' \
--to=ramirose@gmail.com \
--cc=dev@dpdk.org \
--cc=keith.wiles@intel.com \
--cc=rasland@mellanox.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
/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).