Skip to content

inet: tcp listener refactoring, part 8

Eric Dumazet netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v17 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ipv6: add missing ireq_net & ir_cookie initializationsinclude/net/inet_sock.h net/dccp/ipv4.c net/dccp/ipv6.c +2 more+3 -20 replies
2/8inet: add TCP_NEW_SYN_RECV stateinclude/net/tcp_states.h+3 -10 replies
3/8inet: add ireq_state field to inet_request_sockinclude/net/inet_sock.h+3 -00 replies
4/8inet: add rsk_refcnt/ireq_refcnt to request socksinclude/net/inet_sock.h include/net/request_sock.h+9 -00 replies
5/8net: add req_prot_cleanup() & req_prot_init() helpersnet/core/sock.c+41 -280 replies
6/8inet: prepare sock_edemux() & sock_gen_put() for new SYN_RECV stateinclude/net/request_sock.h include/net/sock.h net/core/sock.c +1 more+10 -10 replies
7/8inet: get_openreq4() & get_openreq6() do not need listenernet/ipv4/inet_diag.c net/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+7 -80 replies
8/8inet: introduce ireq_familyinclude/net/inet_sock.h net/dccp/ipv4.c net/dccp/ipv6.c +5 more+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/8] inet: tcp listener refactoring, part 8

These patches prepare request socks being hashed into general ehash table : We declare 3 aliases (ireq_state, ireq_refcnt, ireq_family)

Note that refcnt is not yet handled, this will be done later.

Eric Dumazet (8):
ipv6: add missing ireq_net & ir_cookie initializations
inet: add TCP_NEW_SYN_RECV state
inet: add ireq_state field to inet_request_sock
inet: add rsk_refcnt/ireq_refcnt to request socks
net: add req_prot_cleanup() & req_prot_init() helpers
inet: prepare sock_edemux() & sock_gen_put() for new SYN_RECV state
inet: get_openreq4() & get_openreq6() do not need listener
inet: introduce ireq_family

 include/net/inet_sock.h    |  6 ++++
 include/net/request_sock.h | 13 +++++++++
 include/net/sock.h         |  2 +-
 include/net/tcp_states.h   |  4 ++-
 net/core/sock.c            | 71 ++++++++++++++++++++++++++++------------------
 net/dccp/ipv4.c            |  2 +-
 net/dccp/ipv6.c            |  2 ++
 net/ipv4/inet_diag.c       |  5 ++--
 net/ipv4/inet_hashtables.c |  2 ++
 net/ipv4/syncookies.c      |  1 +
 net/ipv4/tcp_input.c       |  1 -
 net/ipv4/tcp_ipv4.c        |  9 +++---
 net/ipv6/syncookies.c      |  2 ++
 net/ipv6/tcp_ipv6.c        |  5 ++--
 14 files changed, 84 insertions(+), 41 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c