diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-01 13:23:49 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-03-10 11:24:00 -0800 |
| commit | 7f90cb0efe782cbbfb2557d81cf0f9de21e12435 (patch) | |
| tree | b7cff4bd067bd9ce5b9718cedb10688db64d676e /debian | |
| parent | a8c37dc5a2e5f1abc914299ffb841109f2145c35 (diff) | |
| download | openvswitch-7f90cb0efe782cbbfb2557d81cf0f9de21e12435.tar.gz | |
ovsdb: Don't count self-references in ovsdb_row's n_refs member.
The comment on the n_refs member of struct ovsdb_row says that it does not
count references from a row to itself, but the code didn't implement this
properly. This commit makes the code consistent with the comment.
This does not actually affect any existing OVSDB behavior, because a row's
reference count currently affects only whether it may be deleted, and
references from a row to itself disappear when the row is deleted. But
an upcoming commit will add new uses for a row's reference count, so at
that point it becomes important.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions
