Skip to content

inet: tcp listener refactoring, part 10

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: add sk_fullsock() helperinclude/net/sock.h+9 -00 replies
2/5inet: ip early demux should avoid request socketsnet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+2 -20 replies
3/5inet_diag: allow sk_diag_fill() to handle request socksnet/ipv4/inet_diag.c+53 -670 replies
4/5inet: factorize sock_edemux()/sock_gen_put() codenet/core/sock.c net/ipv4/inet_hashtables.c+6 -150 replies
5/5inet: add proper refcounting to request sockinclude/net/inet_connection_sock.h include/net/inet_sock.h include/net/request_sock.h +4 more+29 -180 replies

Reviews trailers per patch

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

Read the v1 thread

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

We are getting close to the point where request sockets will be hashed into generic hash table. Some followups are needed for netfilter and will be handled in next patch series.

Eric Dumazet (5):
net: add sk_fullsock() helper
inet: ip early demux should avoid request sockets
inet_diag: allow sk_diag_fill() to handle request socks
inet: factorize sock_edemux()/sock_gen_put() code
inet: add proper refcounting to request sock

 include/net/inet_connection_sock.h |   5 ++
 include/net/inet_sock.h            |   5 ++
 include/net/request_sock.h         |  13 ++--
 include/net/sock.h                 |   9 +++
 net/core/request_sock.c            |   4 +-
 net/core/sock.c                    |  15 -----
 net/ipv4/inet_connection_sock.c    |   8 +--
 net/ipv4/inet_diag.c               | 120 ++++++++++++++++---------------------
 net/ipv4/inet_hashtables.c         |   6 ++
 net/ipv4/syncookies.c              |  10 ++--
 net/ipv4/tcp_fastopen.c            |   2 +-
 net/ipv4/tcp_ipv4.c                |   2 +-
 net/ipv6/tcp_ipv6.c                |   2 +-
 13 files changed, 99 insertions(+), 102 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c