DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/tap: fix possible uninitialized variable access
@ 2018-11-05 15:31 Ferruh Yigit
  2018-12-21 12:33 ` [dpdk-dev] " Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2018-11-05 15:31 UTC (permalink / raw)
  To: Keith Wiles; +Cc: dev, Ferruh Yigit, stable, pascal.mazon

Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
Cc: pascal.mazon@6wind.com
---
 drivers/net/tap/tap_tcmsgs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/tap/tap_tcmsgs.c b/drivers/net/tap/tap_tcmsgs.c
index 3c9d03667..b478b5951 100644
--- a/drivers/net/tap/tap_tcmsgs.c
+++ b/drivers/net/tap/tap_tcmsgs.c
@@ -116,7 +116,7 @@ qdisc_del(int nlsk_fd, uint16_t ifindex, struct qdisc *qinfo)
 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,
-- 
2.17.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] net/tap: fix possible uninitialized variable access
  2018-11-05 15:31 [dpdk-dev] [PATCH] net/tap: fix possible uninitialized variable access Ferruh Yigit
@ 2018-12-21 12:33 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2018-12-21 12:33 UTC (permalink / raw)
  To: Keith Wiles; +Cc: dev, stable, pascal.mazon

On 11/5/2018 3:31 PM, Ferruh Yigit wrote:
> Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

(I guess it was trivial enough to not get any response, merged as it is)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-21 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 15:31 [dpdk-dev] [PATCH] net/tap: fix possible uninitialized variable access Ferruh Yigit
2018-12-21 12:33 ` [dpdk-dev] " Ferruh Yigit

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).