Re: [ovs-dev] [PATCH v4 05/17] conntrack: Periodically delete expired connections.

2016-06-24 Thread Joe Stringer
On 24 June 2016 at 16:42, Daniele Di Proietto wrote: > Thanks for your comments Joe, replies inline > > > > On 24/06/2016 15:29, "Joe Stringer" wrote: > >>On 10 June 2016 at 15:47, Daniele Di Proietto wrote: >>> This commit adds a

Re: [ovs-dev] [PATCH v4 05/17] conntrack: Periodically delete expired connections.

2016-06-24 Thread Daniele Di Proietto
Thanks for your comments Joe, replies inline On 24/06/2016 15:29, "Joe Stringer" wrote: >On 10 June 2016 at 15:47, Daniele Di Proietto wrote: >> This commit adds a thread that periodically removes expired connections. >> >> The expiration time of a

Re: [ovs-dev] [PATCH v4 05/17] conntrack: Periodically delete expired connections.

2016-06-24 Thread Joe Stringer
On 10 June 2016 at 15:47, Daniele Di Proietto wrote: > This commit adds a thread that periodically removes expired connections. > > The expiration time of a connection can be expressed by: > > expiration = now + timeout > > For each possible 'timeout' value (there aren't

[ovs-dev] [PATCH v4 05/17] conntrack: Periodically delete expired connections.

2016-06-10 Thread Daniele Di Proietto
This commit adds a thread that periodically removes expired connections. The expiration time of a connection can be expressed by: expiration = now + timeout For each possible 'timeout' value (there aren't many) we keep a list. When the expiration is updated, we move the connection to the back