[ovs-git] Open vSwitch: netdev: Safely increment refcount in netdev_open(). (branch-2.1)
dev at openvswitch.org
dev at openvswitch.org
Mon May 5 01:04:10 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, branch-2.1 has been updated
via e47d369096ddb43a43b070385de41be9dfe6c703 (commit)
from c3bbaa66ed7167a062d397b8e7977cdefbaf87d5 (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 e47d369096ddb43a43b070385de41be9dfe6c703
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e47d369096ddb43a43b070385de41be9dfe6c703
Author: Joe Stringer <joestringer at nicira.com>
netdev: Safely increment refcount in netdev_open().
netdev_open() would previously increment a netdev's refcount without
holding a lock for it. This commit shifts the locking to protect it.
Found by inspection.
Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
-----------------------------------------------------------------------
Summary of changes:
lib/netdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list