diff options
author | Vladislav Grishenko <themiron@yandex-team.ru> | 2023-02-14 12:34:29 +0500 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-06 14:31:47 +0000 |
commit | a20afdc845f4e901f7d3e6974e59a0dc2e8bf427 (patch) | |
tree | dd2360ee691903cd058af8fda23008be46e3ea73 /src/vnet/tcp/tcp_api.c | |
parent | 1ee334c6f86b3e814aca1443ec7dfccdfc34ab26 (diff) |
vppinfra: fix clib_bitmap_will_expand() result inversion
Pool's pool_put_will_expand() calls clib_bitmap_will_expand(),
so every put except ones that leads to free_bitmap reallocation
will get false positive results and vice versa.
Unfortunatelly there's no related test and existing bitmap
tests are failing silently with false positive result as well.
Fortunatelly neither clib_bitmap_will_expand() nor
pool_put_will_expand() are being used by current vpp codebase.
Type: fix
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>
Change-Id: Id5bb900cf6a1b1002d37670f5c415c74165b5421
Diffstat (limited to 'src/vnet/tcp/tcp_api.c')
0 files changed, 0 insertions, 0 deletions