diff options
author | Vladislav Grishenko <themiron@yandex-team.ru> | 2021-03-13 20:48:35 +0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-03-03 18:47:41 +0000 |
commit | eb5a08e91d3d7d0f9fc97aeedcbcc02b7a8b753a (patch) | |
tree | e0b2c11aaebb8e242012354a207cc838687aab6e /src/vppinfra | |
parent | 7f5f21ebc4c2c81722c8e219b7107cc3aacc0052 (diff) |
svm: fix svm queue overwrite while adding 2 elements
Adding two elements to the full svm queue passes exact
bounds check, therefore tail gets overwritten w/o any
waiting. Fix it with requiring at lease two free slots.
Type: fix
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>
Change-Id: I704ee606c47b523952cb965f848339ae1988cb60
Diffstat (limited to 'src/vppinfra')
0 files changed, 0 insertions, 0 deletions