datapath: simplify sample action implementation
authorAndy Zhou <azhou@nicira.com>
Fri, 29 Aug 2014 20:20:23 +0000 (13:20 -0700)
committerAndy Zhou <azhou@nicira.com>
Fri, 29 Aug 2014 22:20:51 +0000 (15:20 -0700)
commitd7ff93d7532717ea9d610a7181f24c773170be80
treefdd23870b5dde25b33c6b11b096f9bfeca17abda
parenta139efa9e4c1250787be2c28fc2a06c9ff1f91f6
datapath: 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>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/actions.c