net/tap: fix possible uninitialized variable access
PATCH 1/1 net/tap: fix possible uninitialized variable access
Fixes 7c25284e30c2 ("net/tap: add netlink back-end for flow API")
Signed-off-by Ferruh Yigit <[email protected]>
---
Cc: [email protected]
--- drivers/net/tap/tap_tcmsgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/tap/tap_tcmsgs.c +1 -1
@@ -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,
Signature · 1 line
2.17.2
Ferruh Yigit
AppliedQuoted 4 lines · Ferruh Yigit
Fixes 7c25284e30c2 ("net/tap: add netlink back-end for flow API")Signed-off-by Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.
(I guess it was trivial enough to not get any response, merged as it is)