diff options
author | Vladislav Grishenko <themiron@yandex-team.ru> | 2021-12-29 14:30:32 +0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-03-23 18:27:15 +0000 |
commit | 49ebbf7048f4d5c0f0eae02e7a1810f66ab61f58 (patch) | |
tree | f95bd189910e41cbaaa3b8168c011454d87a44f9 /test/test_ipip.py | |
parent | 2973350c81a7592b9ff66547b8cd34e5e6c8ccf0 (diff) |
vlib: mitigate outdated new cli session events
Possible races while concurrent additon to the new sessions vector
in a one process and remove from it in an another need to be avoided.
Let the vector be changed in the new session process function only.
Also cli_file_pool element may be freed already at the new session
event arrive timepoint, still causing unexpected cli banner for
noninteracive cli sessions.
Type: fix
Fixes: 17a67218587d40541ff522c6a86f354720481fbb
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>
Change-Id: I022d16dd3aad9c9330834d35c58938f04b015b08
Diffstat (limited to 'test/test_ipip.py')
0 files changed, 0 insertions, 0 deletions