summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow_netlink.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-10-19 11:19:51 -0700
committerPravin B Shelar <pshelar@nicira.com>2014-11-05 23:52:35 -0800
commit2fdb957d634a906ae8939bff23d45968307acbf7 (patch)
tree98eee0e868f2b6ff95d715d7a0cdac169d3357d4 /net/openvswitch/flow_netlink.h
parent41af73e9c17d5fb549fced2be97faeb4b8606fb8 (diff)
downloadlinux-2fdb957d634a906ae8939bff23d45968307acbf7.tar.bz2
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,
int ovs_nla_put_actions(const struct nlattr *attr,
int len, struct sk_buff *skb);
-struct sw_flow_actions *ovs_nla_alloc_flow_actions(int actions_len);
void ovs_nla_free_flow_actions(struct sw_flow_actions *);
#endif /* flow_netlink.h */