On Fri, Jan 27, 2017 at 12:42 PM, Pravin Shelar wrote:
> On Wed, Jan 25, 2017 at 9:24 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. Ho
On Wed, Jan 25, 2017 at 9:24 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 complicated than necessar
Nice clean-up.
Acked-by: Jarno Rajahalme
> On Jan 25, 2017, at 9:24 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
> imp
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 Zh