projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Don't use vlan_features before 2.6.26.
[openvswitch]
/
lib
/
ovsdb-idl.c
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index 448f9c94424e35030f9d4794c7133c476db831b7..df5aff52960217ddea1edd41dd7d3b81b61349de 100644
(file)
--- a/
lib/ovsdb-idl.c
+++ b/
lib/ovsdb-idl.c
@@
-1693,6
+1693,8
@@
ovsdb_idl_txn_verify(const struct ovsdb_idl_row *row_,
size_t column_idx = column - class->columns;
assert(row->new != NULL);
size_t column_idx = column - class->columns;
assert(row->new != NULL);
+ assert(row->old == NULL ||
+ row->table->modes[column_idx] & OVSDB_IDL_MONITOR);
if (!row->old
|| (row->written && bitmap_is_set(row->written, column_idx))) {
return;
if (!row->old
|| (row->written && bitmap_is_set(row->written, column_idx))) {
return;