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

2016-07-28 Thread Daniele Di Proietto
On 27/07/2016 21:13, "Joe Stringer" wrote: >On 27 July 2016 at 19:01, Daniele Di Proietto wrote: >> >> >> >> >> >> On 27/07/2016 17:14, "Joe Stringer" wrote: >> >>>On 26 July 2016 at 17:58, Daniele Di Proietto

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

2016-07-27 Thread Joe Stringer
On 27 July 2016 at 19:01, Daniele Di Proietto wrote: > > > > > > On 27/07/2016 17:14, "Joe Stringer" wrote: > >>On 26 July 2016 at 17:58, Daniele Di Proietto wrote: >>> This commit adds a thread that periodically removes expired

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

2016-07-27 Thread Daniele Di Proietto
On 27/07/2016 17:14, "Joe Stringer" wrote: >On 26 July 2016 at 17:58, 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

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

2016-07-27 Thread Joe Stringer
On 26 July 2016 at 17:58, 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 v5 05/16] conntrack: Periodically delete expired connections.

2016-07-26 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