diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/odp-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c index 7725a09f0..8a81f6b47 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -921,6 +921,7 @@ ovs_parse_tnl_push(const char *s, struct ovs_action_push_tnl *data) } else if (ovs_scan_len(s, &n, "geneve(")) { struct genevehdr *gnh = (struct genevehdr *) (udp + 1); + memset(gnh, 0, sizeof *gnh); if (ovs_scan_len(s, &n, "oam,")) { gnh->oam = 1; } |