[ovs-git] Open vSwitch: ofproto-dpif-upcall: Fix logic error in handler/revalidator threads creation and deletion. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Apr 22 05:03:05 UTC 2014


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  3aadc5bbb058d52bb350424cbfef80f2d0c50ecd (commit)
      from  1f8675481e8cc976931bd0a85851d780f7cf2a33 (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 3aadc5bbb058d52bb350424cbfef80f2d0c50ecd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3aadc5bbb058d52bb350424cbfef80f2d0c50ecd
Author: Alex Wang <alexw at nicira.com>
		
ofproto-dpif-upcall: Fix logic error in handler/revalidator threads creation and deletion.
		
Commit 1f8675481e (ofproto-dpif-upcall: Fix ovs-vswitchd crash.)
directly copied the udpif_set_threads() logic to udpif_stop_threads()
and udpif_start_threads().  In fact, this was erroneous and caused
unittest failures.

This commit fixes the above issue by correcting the checks in
udpif_stop_threads() and udpif_start_threads(), and adding necessary
checks in udpif_set_threads().

Acked-by: Ethan Jackson <ethan at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif-upcall.c |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list