Re: [PATCH net-next 2/5] tcp: TFO: search for correct cookie and accept data

2018-12-17 Thread Christoph Paasch
On 16/12/18 - 22:30:51, Eric Dumazet wrote: > > > On 12/14/2018 02:40 PM, Christoph Paasch wrote: > > This change allows to search for the right cookie and accepts old ones > > (announcing a new one if it has changed). > > > > __tcp_fastopen_cookie_gen_with_ctx() allows to generate a cookie base

Re: [PATCH net-next 2/5] tcp: TFO: search for correct cookie and accept data

2018-12-16 Thread Eric Dumazet
On 12/14/2018 02:40 PM, Christoph Paasch wrote: > This change allows to search for the right cookie and accepts old ones > (announcing a new one if it has changed). > > __tcp_fastopen_cookie_gen_with_ctx() allows to generate a cookie based > on a given TFO-context. A later patch will cleanup th

[PATCH net-next 2/5] tcp: TFO: search for correct cookie and accept data

2018-12-14 Thread Christoph Paasch
This change allows to search for the right cookie and accepts old ones (announcing a new one if it has changed). __tcp_fastopen_cookie_gen_with_ctx() allows to generate a cookie based on a given TFO-context. A later patch will cleanup the duplicate code. Signed-off-by: Christoph Paasch --- incl