Re: [net-next v2] openvswitch: Simplify do_execute_actions().

2017-01-29 Thread David Miller
From: Andy Zhou Date: Fri, 27 Jan 2017 13:45:28 -0800 > do_execute_actions() implements a worthwhile optimization: in case > an output action is the last action in an action list, skb_clone() > can be avoided by outputing the current skb. However, the > implementation is more

Re: [net-next v2] openvswitch: Simplify do_execute_actions().

2017-01-27 Thread Pravin Shelar
On Fri, Jan 27, 2017 at 1:45 PM, Andy Zhou wrote: > do_execute_actions() implements a worthwhile optimization: in case > an output action is the last action in an action list, skb_clone() > can be avoided by outputing the current skb. However, the > implementation is more

[net-next v2] openvswitch: Simplify do_execute_actions().

2017-01-27 Thread Andy Zhou
do_execute_actions() implements a worthwhile optimization: in case an output action is the last action in an action list, skb_clone() can be avoided by outputing the current skb. However, the implementation is more complicated than necessary. This patch simplify this logic. Signed-off-by: Andy