commit | 5b8784aaf29be20ba8d363e1124d7436d42ef9bf | [log] [tgz] |
---|---|---|
author | andy zhou <azhou@ovn.org> | Fri Jan 27 13:45:28 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 29 19:00:16 2017 -0500 |
tree | 5cce61602cd014edaa7e1d6f2e8a718509f9b579 | |
parent | 6d45408db1ad87c2080cffeb7868553eec6e053b [diff] |
openvswitch: Simplify do_execute_actions(). 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 Zhou <azhou@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>