]> 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)
commitc7b366b1868503c141d8028400095e0adb75095b
tree98eee0e868f2b6ff95d715d7a0cdac169d3357d4
parent06f027f0a074559edbf8c0b2922a5139216d79db
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