mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
dpif-netdev: Initialize 'tun_md' member of match.
Found by valgrind. Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -2419,6 +2419,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));
|
||||
|
Reference in New Issue
Block a user