aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow_netlink.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-10-19 14:19:51 -0400
committerPravin B Shelar <pshelar@nicira.com>2014-11-06 02:52:35 -0500
commit2fdb957d634a906ae8939bff23d45968307acbf7 (patch)
tree98eee0e868f2b6ff95d715d7a0cdac169d3357d4 /net/openvswitch/flow_netlink.h
parent41af73e9c17d5fb549fced2be97faeb4b8606fb8 (diff)
openvswitch: Refactor action alloc and copy api.
There are two separate API to allocate and copy actions list. Anytime OVS needs to copy action list, it needs to call both functions. Following patch moves action allocation to copy function to avoid code duplication. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'net/openvswitch/flow_netlink.h')
-rw-r--r--net/openvswitch/flow_netlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/openvswitch/flow_netlink.h b/net/openvswitch/flow_netlink.h
index 4f0370646bc6..eb0b177300ad 100644
--- a/net/openvswitch/flow_netlink.h
+++ b/net/openvswitch/flow_netlink.h
@@ -56,7 +56,6 @@ int ovs_nla_copy_actions(const struct nlattr *attr,
56int ovs_nla_put_actions(const struct nlattr *attr, 56int ovs_nla_put_actions(const struct nlattr *attr,
57 int len, struct sk_buff *skb); 57 int len, struct sk_buff *skb);
58 58
59struct sw_flow_actions *ovs_nla_alloc_flow_actions(int actions_len);
60void ovs_nla_free_flow_actions(struct sw_flow_actions *); 59void ovs_nla_free_flow_actions(struct sw_flow_actions *);
61 60
62#endif /* flow_netlink.h */ 61#endif /* flow_netlink.h */