From 2137c4a80ea3c20cd30afb132c35d8dc03ed9297 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 4 Sep 2008 09:47:33 -0700 Subject: [PATCH] Initialize otherwise uninitialized variable. Found by valgrind. --- switch/datapath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/switch/datapath.c b/switch/datapath.c index c25bc3e1..7382d4c6 100644 --- a/switch/datapath.c +++ b/switch/datapath.c @@ -440,6 +440,7 @@ remote_create(struct datapath *dp, struct rconn *rconn) list_push_back(&dp->remotes, &remote->node); remote->rconn = rconn; remote->cb_dump = NULL; + remote->n_txq = 0; return remote; } -- 2.30.2