Re: [PATCH net-next 00/11] tcp: remove code from tcp_create_openreq_child()

2019-01-17 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Jan 2019 11:23:31 -0800 > tcp_create_openreq_child() is essentially cloning a listener, then > must initialize some fields that can not be inherited. > > Listeners are either fresh sockets, or sockets that came through > tcp_disconnect() after a session that dirt

Re: [PATCH net-next 00/11] tcp: remove code from tcp_create_openreq_child()

2019-01-17 Thread Soheil Hassas Yeganeh
On Thu, Jan 17, 2019 at 5:20 PM Yuchung Cheng wrote: > > On Thu, Jan 17, 2019 at 11:23 AM Eric Dumazet wrote: > > > > tcp_create_openreq_child() is essentially cloning a listener, then > > must initialize some fields that can not be inherited. > > > > Listeners are either fresh sockets, or socket

Re: [PATCH net-next 00/11] tcp: remove code from tcp_create_openreq_child()

2019-01-17 Thread Yuchung Cheng
On Thu, Jan 17, 2019 at 11:23 AM Eric Dumazet wrote: > > tcp_create_openreq_child() is essentially cloning a listener, then > must initialize some fields that can not be inherited. > > Listeners are either fresh sockets, or sockets that came through > tcp_disconnect() after a session that dirtied

[PATCH net-next 00/11] tcp: remove code from tcp_create_openreq_child()

2019-01-17 Thread Eric Dumazet
tcp_create_openreq_child() is essentially cloning a listener, then must initialize some fields that can not be inherited. Listeners are either fresh sockets, or sockets that came through tcp_disconnect() after a session that dirtied many fields. By moving code to tcp_disconnect(), we can shorten