Skip to content

Commit 033a359

Browse files
Sharan Santhanamunikraft-bot
authored andcommitted
uknetdev: Initialize the txq_conf
This patch initializes the txq_conf structure. Signed-off-by: Sharan Santhanam <[email protected]> Tested-by: Unikraft CI <[email protected]> GitHub-Pull-Request: unikraft#4
1 parent 34d9e5f commit 033a359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uknetdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ err_t uknetdev_init(struct netif *nf)
431431
struct uk_netdev *dev;
432432
struct uk_netdev_conf dev_conf;
433433
struct uk_netdev_rxqueue_conf rxq_conf;
434-
struct uk_netdev_txqueue_conf txq_conf;
434+
struct uk_netdev_txqueue_conf txq_conf = {0};
435435
struct lwip_netdev_data *lwip_data;
436436
const struct uk_hwaddr *hwaddr;
437437
unsigned int i;

0 commit comments

Comments
 (0)