openvswitch: simplify sample action implementation
authorAndy Zhou <azhou@nicira.com>
Tue, 16 Sep 2014 02:33:50 +0000 (19:33 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 16 Sep 2014 06:28:14 +0000 (23:28 -0700)
commit32ae87ff795781b7ceffc44b7c694c1bb206a266
treeca16360b437e13d4f8cf0c2440181fbffbc9cc71
parent8c8b1b83fcdd0f05e1f66ed6f8a2e831d5d374a2
openvswitch: simplify sample action implementation

The current sample() function implementation is more complicated
than necessary in handling single user space action optimization
and skb reference counting. There is no functional changes.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
net/openvswitch/actions.c