[ovs-git] Open vSwitch: ovs-thread: Break recursion for coverage counters. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 13 18:57:44 UTC 2013


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  0b554f5d5a37754060b24f4e31748addf9a3baf1 (commit)
      from  c95e27834255c7b0bac54a5c707ab01103b37280 (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 0b554f5d5a37754060b24f4e31748addf9a3baf1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0b554f5d5a37754060b24f4e31748addf9a3baf1
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-thread: Break recursion for coverage counters.
		
For systems that do not have either HAVE_THREAD_LOCAL or
HAVE___THREAD (ex: windows using MSVC), a COVERAGE_INC() calls xmalloc
which inturn calls COVERAGE_INC() creating a recursion that causes a
stack overflow.

This commit breaks the recursion by calling malloc() instead of
xmalloc().

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/ovs-thread.h |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list