[ovs-git] Open vSwitch: datapath: Cleanup actions.c:do_output(). (master)

dev at openvswitch.org dev at openvswitch.org
Wed Sep 21 17:24:46 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  f15c86394230974d0535c0f5913cc959f3d920f3 (commit)
       via  646b8753e467399966d1ed7bb56c81a84589029f (commit)
      from  d48c88ecdbab481a210a1d02a616a30ee261cabf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f15c86394230974d0535c0f5913cc959f3d920f3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f15c86394230974d0535c0f5913cc959f3d920f3
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Cleanup actions.c:do_output().
		
The code for outputting a packet can be simplified a little and
also modernized.  There is no functional change.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 646b8753e467399966d1ed7bb56c81a84589029f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=646b8753e467399966d1ed7bb56c81a84589029f
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Send to userspace errors shouldn't halt processing.
		
If we encounter an error when sending a packet to userspace due to
an explicit action we stop processing further actions.  This makes
sense for things like push vlan, where to continue means outputting
an incorrect packet.  However, sending to userspace is more akin
to outputting to a port, which does not halt further processing.
For consistency, ignore errors in this case as well.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/actions.c |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list