Re: [PATCH net] netfilter: flowtable: Fix expired flow not being deleted from software

2020-05-11 Thread Paul Blakey
On 5/11/2020 11:42 AM, Pablo Neira Ayuso wrote: > On Mon, May 11, 2020 at 10:24:44AM +0300, Paul Blakey wrote: >> >> On 5/11/2020 1:26 AM, Pablo Neira Ayuso wrote: >>> On Wed, May 06, 2020 at 02:27:29PM +0300, Paul Blakey wrote: Once a flow is considered expired, it is marked as DYING, and

Re: [PATCH net] netfilter: flowtable: Fix expired flow not being deleted from software

2020-05-11 Thread Pablo Neira Ayuso
On Mon, May 11, 2020 at 10:24:44AM +0300, Paul Blakey wrote: > > > On 5/11/2020 1:26 AM, Pablo Neira Ayuso wrote: > > On Wed, May 06, 2020 at 02:27:29PM +0300, Paul Blakey wrote: > >> Once a flow is considered expired, it is marked as DYING, and > >> scheduled a delete from hardware. The flow wil

Re: [PATCH net] netfilter: flowtable: Fix expired flow not being deleted from software

2020-05-11 Thread Paul Blakey
On 5/11/2020 1:26 AM, Pablo Neira Ayuso wrote: > On Wed, May 06, 2020 at 02:27:29PM +0300, Paul Blakey wrote: >> Once a flow is considered expired, it is marked as DYING, and >> scheduled a delete from hardware. The flow will be deleted from >> software, in the next gc_step after hardware delete

Re: [PATCH net] netfilter: flowtable: Fix expired flow not being deleted from software

2020-05-10 Thread Pablo Neira Ayuso
On Wed, May 06, 2020 at 02:27:29PM +0300, Paul Blakey wrote: > Once a flow is considered expired, it is marked as DYING, and > scheduled a delete from hardware. The flow will be deleted from > software, in the next gc_step after hardware deletes the flow > (and flow is marked DEAD). Till that happe

[PATCH net] netfilter: flowtable: Fix expired flow not being deleted from software

2020-05-06 Thread Paul Blakey
Once a flow is considered expired, it is marked as DYING, and scheduled a delete from hardware. The flow will be deleted from software, in the next gc_step after hardware deletes the flow (and flow is marked DEAD). Till that happens, the flow's timeout might be updated from a previous scheduled sta