Message ID | 1499669501-80363-1-git-send-email-jpettit@ovn.org |
---|---|
State | Accepted |
Headers | show |
On Sun, Jul 09, 2017 at 11:51:38PM -0700, Justin Pettit wrote: > Found by valgrind. Acked-by: Ben Pfaff <blp@ovn.org>
> On Jul 14, 2017, at 12:57 PM, Ben Pfaff <blp@ovn.org> wrote: > > On Sun, Jul 09, 2017 at 11:51:38PM -0700, Justin Pettit wrote: >> Found by valgrind. > > Acked-by: Ben Pfaff <blp@ovn.org> Thanks. I pushed this to master. --Justin
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 6bae4acd0dd9..bf923fa9bee8 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2430,6 +2430,7 @@ dp_netdev_flow_add(struct dp_netdev_pmd_thread *pmd, ds_put_cstr(&ds, "flow match: "); miniflow_expand(&flow->cr.flow.mf, &m.flow); miniflow_expand(&flow->cr.mask->mf, &m.wc.masks); + memset(&m.tun_md, 0, sizeof m.tun_md); match_format(&m, NULL, &ds, OFP_DEFAULT_PRIORITY); VLOG_DBG("%s", ds_cstr(&ds));