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
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
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
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