Re: [ovs-dev] [PATCH] conntrack:fix conntrack_clean may access the same exp_list each time be called

2023-02-21 Thread Liang Mancang
On Mon, Feb 20, 2023 at 07:38:39PM +0100, Paolo Valerio wrote: > Paolo Valerio writes: > > > Hello Liang, > > > > Liang Mancang writes: > > > >> when a exp_list contains more than the clean_end's number of nodes, > >> and these nodes will n

[ovs-dev] [PATCH v2] conntrack: fix conntrack_clean may access the same exp_list each time be called

2023-02-21 Thread Liang Mancang
line. Fixes: 3d9c1b855a5f ("conntrack: Replace timeout based expiration lists with rculists.") Signed-off-by: Liang Mancang --- lib/conntrack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/conntrack.c b/lib/conntrack.c index 524670e45..8cf7779c6 100644 --- a/

[ovs-dev] [PATCH] conntrack:fix conntrack_clean may access the same exp_list each time be called

2023-02-16 Thread Liang Mancang
when a exp_list contains more than the clean_end's number of nodes, and these nodes will not expire immediately. Then, every times we call conntrack_clean, it use the same next_sweep to get exp_list. Actually, we should add i every times after we call ct_sweep. Signed-off-by: Liang Ma

[ovs-dev] [PATCH] conntrack:fix conntrack_clean may access the same exp_list each time be called

2023-02-16 Thread Liang Mancang
when a exp_list contains more than the clean_end's number of nodes, and these nodes will not expire immediately. Then, every times we call conntrack_clean, it use the same next_sweep to get exp_list. Actually, we should add i every times after we call ct_sweep. --- lib/conntrack.c | 5 +++-- 1 fi