aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openvswitch/flow.c')
-rw-r--r--net/openvswitch/flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c
index 376ca8738fd4..5a3195e538ce 100644
--- a/net/openvswitch/flow.c
+++ b/net/openvswitch/flow.c
@@ -715,7 +715,7 @@ int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
715 return key_extract(skb, key); 715 return key_extract(skb, key);
716} 716}
717 717
718int ovs_flow_key_extract_userspace(const struct nlattr *attr, 718int ovs_flow_key_extract_userspace(struct net *net, const struct nlattr *attr,
719 struct sk_buff *skb, 719 struct sk_buff *skb,
720 struct sw_flow_key *key, bool log) 720 struct sw_flow_key *key, bool log)
721{ 721{
@@ -724,7 +724,7 @@ int ovs_flow_key_extract_userspace(const struct nlattr *attr,
724 memset(key, 0, OVS_SW_FLOW_KEY_METADATA_SIZE); 724 memset(key, 0, OVS_SW_FLOW_KEY_METADATA_SIZE);
725 725
726 /* Extract metadata from netlink attributes. */ 726 /* Extract metadata from netlink attributes. */
727 err = ovs_nla_get_flow_metadata(attr, key, log); 727 err = ovs_nla_get_flow_metadata(net, attr, key, log);
728 if (err) 728 if (err)
729 return err; 729 return err;
730 730