diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-13 14:11:32 -0400 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-06-14 18:09:12 -0400 |
commit | 93d8fd1514b6862c3370ea92be3f3b4216e0bf8f (patch) | |
tree | c46a46cf0d597a5fe63904dba90c8e50521f0c0f /net/openvswitch/datapath.c | |
parent | b34df5e805a6e98cae0bc5bc80c1b52d9ff811de (diff) |
openvswitch: Simplify interface ovs_flow_metadata_from_nlattrs()
This is not functional change, this is just code cleanup.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r-- | net/openvswitch/datapath.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 748aa97cbfb2..0f783d9fa00d 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
@@ -739,10 +739,7 @@ static int ovs_packet_cmd_execute(struct sk_buff *skb, struct genl_info *info) | |||
739 | if (err) | 739 | if (err) |
740 | goto err_flow_free; | 740 | goto err_flow_free; |
741 | 741 | ||
742 | err = ovs_flow_metadata_from_nlattrs(&flow->key.phy.priority, | 742 | err = ovs_flow_metadata_from_nlattrs(flow, a[OVS_PACKET_ATTR_KEY]); |
743 | &flow->key.phy.skb_mark, | ||
744 | &flow->key.phy.in_port, | ||
745 | a[OVS_PACKET_ATTR_KEY]); | ||
746 | if (err) | 743 | if (err) |
747 | goto err_flow_free; | 744 | goto err_flow_free; |
748 | 745 | ||