diff options
| -rw-r--r-- | net/openvswitch/flow.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
| 717 | { | 717 | { |
| 718 | int err; | 718 | int err; |
| 719 | 719 | ||
| 720 | memset(key, 0, OVS_SW_FLOW_KEY_METADATA_SIZE); | ||
| 721 | |||
| 720 | /* Extract metadata from netlink attributes. */ | 722 | /* Extract metadata from netlink attributes. */ |
| 721 | err = ovs_nla_get_flow_metadata(attr, key, log); | 723 | err = ovs_nla_get_flow_metadata(attr, key, log); |
| 722 | if (err) | 724 | if (err) |
