diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-11-23 19:52:28 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-11-25 15:35:23 +0100 |
commit | 4c01338e4fb8aee6b28603e7e5f7459f59db9561 (patch) | |
tree | c7993a4490975888027b7273f511b5c4f59c241d /src/lib/ipcpd_messages.proto | |
parent | 2796b90230c7a7642678dea2147ed19b43f9835d (diff) | |
download | ouroboros-4c01338e4fb8aee6b28603e7e5f7459f59db9561.tar.gz ouroboros-4c01338e4fb8aee6b28603e7e5f7459f59db9561.zip |
irmd: Fix data race in flow allocation
The flow information in the main loop is passed as a direct pointer to
an irm_flow object in the flow database. This was (probably) not
really an issue due to how the flow allocation operations work, but
the thread sanitizer was barfing a lot of (correct) data race errors
when running bigger tests, so now makes a safe copy of the data.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/ipcpd_messages.proto')
0 files changed, 0 insertions, 0 deletions