tcp: remove code from tcp_create_openreq_child()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | tcp: do not set snd_ssthresh in tcp_create_openreq_child()net/ | +0 | 0 replies | |
| 2/11 | tcp: move icsk_rto init to tcp_disconnect()net/ net/ | +1 | 0 replies | |
| 3/11 | tcp: do not clear packets_out in tcp_create_openreq_child()net/ | +0 | 0 replies | |
| 4/11 | tcp: do not clear srtt_us in tcp_create_openreq_childnet/ | +0 | 0 replies | |
| 5/11 | tcp: move mdev_us init to tcp_disconnect()net/ net/ | +1 | 0 replies | |
| 6/11 | tcp: move snd_cwnd & snd_cwnd_cnt init to tcp_disconnect()net/ net/ | +1 | 0 replies | |
| 7/11 | tcp: do not clear urg_data in tcp_create_openreq_childnet/ | +0 | 0 replies | |
| 8/11 | tcp: move retrans_out,sacked_out,tlp_high_seq,last_oow_ack_time init to tcp_disconnect()net/ net/ | +4 | 0 replies | |
| 9/11 | tcp: move app_limited init to tcp_disconnect()net/ net/ | +3 | 0 replies | |
| 10/11 | tcp: move tp->rack init to tcp_disconnect()net/ net/ | +6 | 0 replies | |
| 11/11 | tcp: move rx_opt & syn_data_acked init to tcp_disconnect()net/ net/ | +4 | 0 replies |
Reviews trailers per patch
None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Yuchung Cheng | Soheil Hassas Yeganeh |
|---|---|---|
| Series | A-b | A-b |
| 1/11 | ||
| 2/11 | ||
| 3/11 | ||
| 4/11 | ||
| 5/11 | ||
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/11] 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.
Eric Dumazet (11):
tcp: do not set snd_ssthresh in tcp_create_openreq_child()
tcp: move icsk_rto init to tcp_disconnect()
tcp: do not clear packets_out in tcp_create_openreq_child()
tcp: do not clear srtt_us in tcp_create_openreq_child
tcp: move mdev_us init to tcp_disconnect()
tcp: move snd_cwnd & snd_cwnd_cnt init to tcp_disconnect()
tcp: do not clear urg_data in tcp_create_openreq_child
tcp: move retrans_out,sacked_out,tlp_high_seq,last_oow_ack_time init
to tcp_disconnect()
tcp: move app_limited init to tcp_disconnect()
tcp: move tp->rack init to tcp_disconnect()
tcp: move rx_opt & syn_data_acked init to tcp_disconnect()
net/ipv4/tcp.c | 21 ++++++++++++++++++++- net/ipv4/tcp_minisocks.c | 34 ---------------------------------- 2 files changed, 20 insertions(+), 35 deletions(-)
Signature · 1 line
2.20.1.321.g9e740568ce-goog