Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API")
Cc: [email protected]

Signed-off-by: Ferruh Yigit <[email protected]>
---
Cc: [email protected]
---
 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

Reply via email to