diff options
author | Florin Coras <fcoras@cisco.com> | 2022-02-09 19:17:02 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-02-10 03:09:44 +0000 |
commit | f8c8809d009ea6e3785e4b66047d2b4982d6286e (patch) | |
tree | b42713494152996ed65051ba94398e25aa56fac3 /test/test_bond.py | |
parent | 794599bccae8bfb57c17b0c3c8b96630b0bf9bb9 (diff) |
session: avoid debug half-open session pool contention
Half-opens are only allocated from main with worker barrier but can be
cleaned up, i.e., session_half_open_free, from main without a barrier.
In debug images, the free_bitmap can grow while workers peek the
sessions pool, e.g., session_half_open_migrate_notify, and as a result
crash while validating the session. To avoid, proactively grow bitmap in
debug images.
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I2410793f933fb638651fe8dc08ba78e9bee0bd77
Diffstat (limited to 'test/test_bond.py')
0 files changed, 0 insertions, 0 deletions