Skip to content

inet: tcp listener refactoring, part 11

Eric Dumazet netdev 1 version Applied

Status from this message: Applied, th anks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6netfilter: use sk_fullsock() helpernet/netfilter/ipvs/ip_vs_xmit.c net/netfilter/nf_log_common.c net/netfilter/nfnetlink_log.c +2 more+6 -60 replies
2/6netfilter: tproxy: prepare TCP_NEW_SYN_RECV supportnet/netfilter/xt_TPROXY.c+12 -60 replies
3/6netfilter: xt_socket: prepare for TCP_NEW_SYN_RECV supportnet/netfilter/xt_socket.c+22 -120 replies
4/6inet: move ir_mark to fill a holeinclude/net/inet_sock.h+5 -60 replies
5/6tcp: move tcp_openreq_init() to tcp_input.cinclude/net/tcp.h net/ipv4/tcp_input.c+25 -250 replies
6/6tcp: uninline tcp_oow_rate_limited()include/net/tcp.h net/ipv4/tcp_input.c+32 -300 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchEric Dumazet
1/6
2/6
3/6
4/6
5/6
6/6Signed-of-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Before inserting request sockets into general (ehash) table, we need to prepare netfilter to cope with them, as they are not full sockets.

I'll later change xt_socket to get full support, including for request sockets (NEW_SYN_RECV)

Save 8 bytes in inet_request_sock on 64bit arches. We'll soon add a pointer to the listener socket.

I included two TCP changes in this patch series.

Eric Dumazet (6):
netfilter: use sk_fullsock() helper
netfilter: tproxy: prepare TCP_NEW_SYN_RECV support
netfilter: xt_socket: prepare for TCP_NEW_SYN_RECV support
inet: move ir_mark to fill a hole
tcp: move tcp_openreq_init() to tcp_input.c
tcp: uninline tcp_oow_rate_limited()

 include/net/inet_sock.h              | 11 ++++---
 include/net/tcp.h                    | 57 ++----------------------------------
 net/ipv4/tcp_input.c                 | 55 ++++++++++++++++++++++++++++++++++
 net/netfilter/ipvs/ip_vs_xmit.c      |  2 +-
 net/netfilter/nf_log_common.c        |  2 +-
 net/netfilter/nfnetlink_log.c        |  2 +-
 net/netfilter/nfnetlink_queue_core.c |  2 +-
 net/netfilter/nft_meta.c             |  4 +--
 net/netfilter/xt_TPROXY.c            | 18 ++++++++----
 net/netfilter/xt_socket.c            | 34 +++++++++++++--------
 10 files changed, 102 insertions(+), 85 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c