]> Git Repo - linux.git/commit
openvswitch: Simplify do_execute_actions().
authorandy zhou <[email protected]>
Fri, 27 Jan 2017 21:45:28 +0000 (13:45 -0800)
committerDavid S. Miller <[email protected]>
Mon, 30 Jan 2017 00:00:16 +0000 (19:00 -0500)
commit5b8784aaf29be20ba8d363e1124d7436d42ef9bf
tree5cce61602cd014edaa7e1d6f2e8a718509f9b579
parent6d45408db1ad87c2080cffeb7868553eec6e053b
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 <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/openvswitch/actions.c
This page took 0.052455 seconds and 4 git commands to generate.