]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82ba3c0e246dcd2dc766615976cb5002891f13cd
tree98eee0e868f2b6ff95d715d7a0cdac169d3357d4
parentdb499490ca552677ef6c5dacf76f896c9431f0e8
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>
net/openvswitch/datapath.c
net/openvswitch/flow_netlink.c
net/openvswitch/flow_netlink.h