[dpdk-stable] patch 'net/tap: fix multi-process request' has been queued to LTS release 18.11.2

Kevin Traynor ktraynor at redhat.com
Wed Apr 10 18:43:39 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/16/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Kevin Traynor

---
>From 6b09b3866a82876ab3000b7235022cb830f181e3 Mon Sep 17 00:00:00 2001
From: Raslan Darawsheh <rasland at mellanox.com>
Date: Tue, 26 Feb 2019 09:50:56 +0000
Subject: [PATCH] net/tap: fix multi-process request

[ upstream commit c8d5690060aa574c540d4575473f62142aff4d23 ]

The structure was not initialized.

Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary")

Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
Reviewed-by: Rami Rosen <ramirose at gmail.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 a93429973..17273eb68 100644
--- a/drivers/net/tap/rte_eth_tap.c
+++ b/drivers/net/tap/rte_eth_tap.c
@@ -2056,4 +2056,5 @@ tap_mp_attach_queues(const char *port_name, struct rte_eth_dev *dev)
 
 	/* Prepare the request */
+	memset(&request, 0, sizeof(request));
 	strlcpy(request.name, TAP_MP_KEY, sizeof(request.name));
 	strlcpy(request_param->port_name, port_name,
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-04-10 14:06:10.306874621 +0100
+++ 0031-net-tap-fix-multi-process-request.patch	2019-04-10 14:06:07.903293350 +0100
@@ -1,12 +1,13 @@
-From c8d5690060aa574c540d4575473f62142aff4d23 Mon Sep 17 00:00:00 2001
+From 6b09b3866a82876ab3000b7235022cb830f181e3 Mon Sep 17 00:00:00 2001
 From: Raslan Darawsheh <rasland at mellanox.com>
 Date: Tue, 26 Feb 2019 09:50:56 +0000
 Subject: [PATCH] net/tap: fix multi-process request
 
+[ upstream commit c8d5690060aa574c540d4575473f62142aff4d23 ]
+
 The structure was not initialized.
 
 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary")
-Cc: stable at dpdk.org
 
 Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
 Reviewed-by: Rami Rosen <ramirose at gmail.com>
@@ -15,10 +16,10 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
-index 586c8a952..6f5109fca 100644
+index a93429973..17273eb68 100644
 --- a/drivers/net/tap/rte_eth_tap.c
 +++ b/drivers/net/tap/rte_eth_tap.c
-@@ -2087,4 +2087,5 @@ tap_mp_attach_queues(const char *port_name, struct rte_eth_dev *dev)
+@@ -2056,4 +2056,5 @@ tap_mp_attach_queues(const char *port_name, struct rte_eth_dev *dev)
  
  	/* Prepare the request */
 +	memset(&request, 0, sizeof(request));


More information about the stable mailing list