git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e37913
)
net/tap: fix multi-process request
author
Raslan Darawsheh
<rasland@mellanox.com>
Tue, 26 Feb 2019 09:50:56 +0000
(09:50 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 1 Mar 2019 17:17:35 +0000
(18:17 +0100)
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>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
drivers/net/tap/rte_eth_tap.c
patch
|
blob
|
history
diff --git
a/drivers/net/tap/rte_eth_tap.c
b/drivers/net/tap/rte_eth_tap.c
index
586c8a9
..
6f5109f
100644
(file)
--- 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));