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:
8020573
)
net/tap: fix possible uninitialized variable access
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 5 Nov 2018 15:31:21 +0000
(15:31 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:41 +0000
(16:22 +0100)
Fixes:
7c25284e30c2
("net/tap: add netlink back-end for flow API")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/tap_tcmsgs.c
patch
|
blob
|
history
diff --git
a/drivers/net/tap/tap_tcmsgs.c
b/drivers/net/tap/tap_tcmsgs.c
index
3c9d036
..
b478b59
100644
(file)
--- a/
drivers/net/tap/tap_tcmsgs.c
+++ b/
drivers/net/tap/tap_tcmsgs.c
@@
-116,7
+116,7
@@
error:
int
qdisc_add_multiq(int nlsk_fd, uint16_t ifindex)
{
- struct tc_multiq_qopt opt;
+ struct tc_multiq_qopt opt
= {0}
;
struct nlmsg msg;
tc_init_msg(&msg, ifindex, RTM_NEWQDISC,