From: David S. Miller Date: Fri, 18 Jan 2019 06:19:05 +0000 (-0800) Subject: Merge branch 'tcp_openreq_child' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=435f3f267780321a1aff41bdade257722328ead5;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'tcp_openreq_child' Eric Dumazet says: ==================== tcp: remove code from tcp_create_openreq_child() 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 time taken to create a clone, since tcp_disconnect() operation is very unlikely. ==================== Acked-by: Yuchung Cheng Acked-by: Soheil Hassas Yeganeh Signed-off-by: David S. Miller --- 435f3f267780321a1aff41bdade257722328ead5