openvswitch: Refactor action alloc and copy api.
authorPravin B Shelar <pshelar@nicira.com>
Sun, 19 Oct 2014 18:19:51 +0000 (11:19 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 6 Nov 2014 07:52:35 +0000 (23:52 -0800)
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>
net/openvswitch/datapath.c
net/openvswitch/flow_netlink.c
net/openvswitch/flow_netlink.h

Simple merge
Simple merge
Simple merge