Found by valgrind.
Signed-off-by: Ben Pfaff <[email protected]>
---
lib/ofp-util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 601a719797e5..da171cdf6fe5 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -159,6 +159,7 @@ ofputil_match_from_ofp10_match(const struct ofp10_match
*ofmatch,
/* Initialize match->wc. */
memset(&match->flow, 0, sizeof match->flow);
ofputil_wildcard_from_ofpfw10(ofpfw, &match->wc);
+ memset(&match->tun_md, 0, sizeof match->tun_md);
/* Initialize most of match->flow. */
match->flow.nw_src = ofmatch->nw_src;
--
2.10.2
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev