From 0bc78d80363efc22d07171473933d1b0016440e4 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sat, 9 Jan 2021 14:34:01 -0800 Subject: session svm: fix fifo migration Allocate and attach a new pair of private fifos in the right private slice when a session is cloned. This ensures that private fifos are not shared between workers. Type: fix Signed-off-by: Florin Coras Change-Id: Ib700d18104d2ca79aa8a07434cdcdcab0bef13a5 --- src/svm/fifo_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/svm/fifo_types.h') diff --git a/src/svm/fifo_types.h b/src/svm/fifo_types.h index 592a7007c7d..03adbd33c2c 100644 --- a/src/svm/fifo_types.h +++ b/src/svm/fifo_types.h @@ -109,6 +109,8 @@ typedef struct _svm_fifo struct _svm_fifo *next; /**< prev in active chain */ struct _svm_fifo *prev; /**< prev in active chain */ + svm_fifo_chunk_t **chunks_at_attach; /**< chunks to be accounted at detach */ + #if SVM_FIFO_TRACE svm_fifo_trace_elem_t *trace; #endif -- cgit 1.2.3-korg