Re: [ovs-dev] [PATCH 1/5] ovsdb: Fix incorrect sharing of UUID and _version columns.

2023-12-28 Thread Mike Pattrick
On Sun, Dec 17, 2023 at 9:03 PM Ilya Maximets wrote: > > Datum of UUID and _version columns is accessed directly via > ovsdb_row_get_uuid_rw() and ovsdb_row_get_version_rw() functions > instead of ovsdb_data_* functions. Meaning, the data will be > directly modified even if it is shared between r

[ovs-dev] [PATCH 1/5] ovsdb: Fix incorrect sharing of UUID and _version columns.

2023-12-17 Thread Ilya Maximets
Datum of UUID and _version columns is accessed directly via ovsdb_row_get_uuid_rw() and ovsdb_row_get_version_rw() functions instead of ovsdb_data_* functions. Meaning, the data will be directly modified even if it is shared between rows. Fix that by unsharing the data whenever RW pointer is take