diff options
author | Florin Coras <fcoras@cisco.com> | 2020-12-28 16:28:07 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-12-29 21:43:49 +0000 |
commit | 9a45bd84d9f8e37f7914eb36d2ffdcd209aa15cb (patch) | |
tree | 3a16e384fc88ad6b607c8017f09b40b2bc5b5b39 /src/svm/svm_fifo.c | |
parent | 14f066e95100cfdcd5f0531e35ba84b7b859a00a (diff) |
session: remove fifo segment va allocator
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I7b2fd896dfa6df46916f46327975b95561809f00
Diffstat (limited to 'src/svm/svm_fifo.c')
-rw-r--r-- | src/svm/svm_fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/svm_fifo.c b/src/svm/svm_fifo.c index 14729710aac..dc9e4fbed87 100644 --- a/src/svm/svm_fifo.c +++ b/src/svm/svm_fifo.c @@ -1340,7 +1340,7 @@ svm_fifo_clone (svm_fifo_t * df, svm_fifo_t * sf) ASSERT (svm_fifo_n_chunks (sf) == 1); clib_memcpy_fast (f_head_cptr (df)->data, f_head_cptr (sf)->data, - sf->shr->size); + f_head_cptr (sf)->length); f_load_head_tail_all_acq (sf, &head, &tail); clib_atomic_store_rel_n (&df->shr->head, head); |