X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Fopenvswitch%2Fflow.c;h=50ec42f170a06713e086d66abb2ea0d1aa998d74;hb=9a8b2aa534f23a61a57385309667e42e96941116;hp=e2c348b8bacafac9c646f4861b55b76d4e1a51e9;hpb=a233bb742aed62fc6164073d9835135f639b8828;p=cascardo%2Flinux.git diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c index e2c348b8baca..50ec42f170a0 100644 --- a/net/openvswitch/flow.c +++ b/net/openvswitch/flow.c @@ -717,6 +717,8 @@ int ovs_flow_key_extract_userspace(const struct nlattr *attr, { int err; + memset(key, 0, OVS_SW_FLOW_KEY_METADATA_SIZE); + /* Extract metadata from netlink attributes. */ err = ovs_nla_get_flow_metadata(attr, key, log); if (err)