[ovs-git] Open vSwitch: ovsdb: Check ovsdb_mutation_set_execute() return value in transactions. (branch-1.1)
dev at openvswitch.org
dev at openvswitch.org
Tue May 31 20:54:41 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, branch-1.1 has been updated
via 1b807595c4e6b4348444852bda8814e92412ad41 (commit)
via 0066b6033e84752dff92b4ac991e8da662c5061f (commit)
from f7eaaeba017b2442edd730b929d4713ba4375b1e (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 1b807595c4e6b4348444852bda8814e92412ad41
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1b807595c4e6b4348444852bda8814e92412ad41
Author: Ben Pfaff <blp at nicira.com>
ovsdb: Check ovsdb_mutation_set_execute() return value in transactions.
Errors from this function were being ignored, which meant that transactions
could use "mutate" to bypass number-of-elements constraints on sets and
maps. This fixes the problem and adds a test to prevent the problem from
recurring.
Bug #5781.
commit 0066b6033e84752dff92b4ac991e8da662c5061f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0066b6033e84752dff92b4ac991e8da662c5061f
Author: Ben Pfaff <blp at nicira.com>
ovsdb: Fix spelling of "constraint violation" in error tag.
-----------------------------------------------------------------------
Summary of changes:
ovsdb/execution.c | 9 +++++----
ovsdb/mutation.c | 4 ++--
ovsdb/mutation.h | 4 ++--
tests/ovsdb-execution.at | 10 +++++++++-
4 files changed, 18 insertions(+), 9 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list