]> git.proxmox.com Git - mirror_ovs.git/commit
datapath: Simplify do_execute_actions().
authorandy zhou <azhou@ovn.org>
Fri, 3 Mar 2017 03:29:52 +0000 (19:29 -0800)
committerJoe Stringer <joe@ovn.org>
Fri, 3 Mar 2017 22:41:08 +0000 (14:41 -0800)
commit2b6a82dadbd5577fd89fd4cdde313e9e0f7b532c
treee64789de07be00c6bd69186bde19baddf6c9abd5
parent073c7b86400d983f55c5e86e116ef29afe61caec
datapath: Simplify do_execute_actions().

Upstream commit:
    commit 5b8784aaf29be20ba8d363e1124d7436d42ef9bf
    Author: Andy Zhou <azhou@ovn.org>
    Date: Fri Jan 27 13:45:28 2017 -0800

    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>
Upstream: 5b8784aaf29b ("openvswitch: Simplify do_execute_actions().")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
datapath/actions.c