From 033a359f78f7b47db0ebaa8db03993e15ab31e31 Mon Sep 17 00:00:00 2001 From: Sharan Santhanam Date: Wed, 30 Jun 2021 10:00:24 +0200 Subject: [PATCH] uknetdev: Initialize the txq_conf This patch initializes the txq_conf structure. Signed-off-by: Sharan Santhanam Tested-by: Unikraft CI GitHub-Pull-Request: #4 --- uknetdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uknetdev.c b/uknetdev.c index 83c866b..091370a 100644 --- a/uknetdev.c +++ b/uknetdev.c @@ -431,7 +431,7 @@ err_t uknetdev_init(struct netif *nf) struct uk_netdev *dev; struct uk_netdev_conf dev_conf; struct uk_netdev_rxqueue_conf rxq_conf; - struct uk_netdev_txqueue_conf txq_conf; + struct uk_netdev_txqueue_conf txq_conf = {0}; struct lwip_netdev_data *lwip_data; const struct uk_hwaddr *hwaddr; unsigned int i; -- 2.39.5