Skip to content

tcp: remove net/core/request_sock.c and no longer inline __reqsk_free()

Eric Dumazet netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 1 replyApplied 4/4
  2. v2 posting 1/24 patches 5 repliesSuperseded

Patches in v2 posting 2/2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4inet: move reqsk_queue_alloc() to net/ipv4/inet_connection_sock.cinclude/net/request_sock.h net/core/request_sock.c net/ipv4/inet_connection_sock.c+9 -260 repliesApplied
2/4tcp: move reqsk_fastopen_remove to net/ipv4/tcp_fastopen.cnet/core/request_sock.c net/ipv4/tcp_fastopen.c+86 -850 repliesApplied
3/4net: get rid of net/core/request_sock.cnet/core/Makefile net/core/request_sock.c+1 -190 repliesApplied
4/4tcp: move __reqsk_free() out of lineinclude/net/request_sock.h net/ipv4/inet_connection_sock.c+11 -81 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKuniyuki Iwashima
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/4] tcp: remove net/core/request_sock.c and no longer inline __reqsk_free()

After DCCP removal, net/core/request_sock.c makes no more sense.

Move reqsk_queue_alloc() and reqsk_fastopen_remove() to TCP files.

Then put __reqsk_free() out of line to save ~2 Kbytes of text.

v2: use EXPORT_SYMBOL_GPL() instead of EXPORT_IPV6_MOD_GPL for
__reqsk_free (Kuniyuki)

Eric Dumazet (4):
inet: move reqsk_queue_alloc() to net/ipv4/inet_connection_sock.c
tcp: move reqsk_fastopen_remove to net/ipv4/tcp_fastopen.c
net: get rid of net/core/request_sock.c
tcp: move __reqsk_free() out of line

 include/net/request_sock.h      |  11 +--
 net/core/Makefile               |   2 +-
 net/core/request_sock.c         | 127 --------------------------------
 net/ipv4/inet_connection_sock.c |  19 +++++
 net/ipv4/tcp_fastopen.c         |  86 +++++++++++++++++++++
 5 files changed, 107 insertions(+), 138 deletions(-)
 delete mode 100644 net/core/request_sock.c
Signature · 1 line
2.53.0.rc2.204.g2597b5adb4-goog