[ovs-git] Open vSwitch: netdev: Correctly maintain netdev refcounts even if errors occur. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jan 29 18:33:59 UTC 2010


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  0b3f40f37183df18eb70255a9cc96d57d96b9a3e (commit)
      from  5819a7cdcf44f0277c538353672fb27701c764f9 (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 0b3f40f37183df18eb70255a9cc96d57d96b9a3e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0b3f40f37183df18eb70255a9cc96d57d96b9a3e
Author: Jesse Gross <jesse at nicira.com>
		
netdev: Correctly maintain netdev refcounts even if errors occur.
		
If an error occured while opening a netdev it would decrement the
refcount, even though it was never incremented.  Depending on
the timing this could result in either an error message or an
assertion failure.  This workaround simply always increments
the refcount before openning a device.  A more complete fix
already exists in the netdev overhaul in the 'next' branch.

NIC-59


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

Summary of changes:
 lib/netdev.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list