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

2023-02-21 Thread Ilya Maximets
On 2/21/23 16:03, Paolo Valerio wrote: > Liang Mancang writes: > >> 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

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

2023-02-21 Thread Paolo Valerio
Liang Mancang writes: > 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. >

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

2023-02-21 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. v2: delete unnecessary line.