Re: [PATCH net-next 5/5] tcp: TFO - cleanup code duplication

2018-12-17 Thread Christoph Paasch
On 16/12/18 - 22:33:52, Eric Dumazet wrote: > > > On 12/14/2018 02:40 PM, Christoph Paasch wrote: > > We can actually easily reuse __tcp_fastopen_cookie_gen_with_ctx to > > generate the cookie based on a give TFO-context. > > > > s/give/given/ Thanks! Will be fixed in the v2. Christoph

Re: [PATCH net-next 5/5] tcp: TFO - cleanup code duplication

2018-12-16 Thread Eric Dumazet
On 12/14/2018 02:40 PM, Christoph Paasch wrote: > We can actually easily reuse __tcp_fastopen_cookie_gen_with_ctx to > generate the cookie based on a give TFO-context. > s/give/given/

[PATCH net-next 5/5] tcp: TFO - cleanup code duplication

2018-12-14 Thread Christoph Paasch
We can actually easily reuse __tcp_fastopen_cookie_gen_with_ctx to generate the cookie based on a give TFO-context. This cleans up some of the code. Signed-off-by: Christoph Paasch --- net/ipv4/tcp_fastopen.c | 51 +++-- 1 file changed, 11 insertions(