Skip to content

introduce dropreasons in tcp receive path

Jason Xing netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 4 repliesIn review
  2. v36 patches 12 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tcp: introduce another three dropreasons in receive pathinclude/net/dropreason-core.h+14 -12 replies
2/6tcp: add more specific possible drop reasons in tcp_rcv_synsent_state_process()net/ipv4/tcp_input.c+4 -10 replies
3/6tcp: add dropreasons in tcp_rcv_state_process()include/net/tcp.h net/ipv4/tcp_input.c+14 -80 replies
4/6tcp: make the dropreason really work when calling tcp_rcv_state_process()include/net/tcp.h net/ipv4/tcp_ipv4.c net/ipv4/tcp_minisocks.c +1 more+10 -70 replies
5/6tcp: make dropreason in tcp_child_process() worknet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+20 -120 replies
6/6tcp: get rid of NOT_SEPCIFIED reason in tcp_v4/6_do_rcvnet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+0 -20 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH net-next v4 0/6] introduce dropreasons in tcp receive path

From: Jason Xing <[email protected]>

As title said, we're going to refine the NOT_SPECIFIED reason in the tcp v4/6 receive fast path.

This serie is another one of the v2 patchset[1] which are here split into six patches. Besides, this patch is made on top of the previous serie[2] I submitted some time ago.

v4:

Already got rid of @acceptable in tcp_rcv_state_process(), so I need to remove *TCP_CONNREQNOTACCEPTABLE related codes which I wrote in the v3 series.

v3:

1. Split that patch into some smaller ones as suggested by Eric.

v2:

1. change the title of 2/2 patch.
2. fix some warnings checkpatch tool showed before.
3. use return value instead of adding more parameters suggested by Eric. Jason Xing (6):
tcp: introduce another three dropreasons in receive path
tcp: add more specific possible drop reasons in
tcp_rcv_synsent_state_process()
tcp: add dropreasons in tcp_rcv_state_process()
tcp: make the dropreason really work when calling
tcp_rcv_state_process()
tcp: make dropreason in tcp_child_process() work
tcp: get rid of NOT_SEPCIFIED reason in tcp_v4/6_do_rcv

 include/net/dropreason-core.h | 15 ++++++++++++++-
 include/net/tcp.h             |  4 ++--
 net/ipv4/tcp_input.c          | 25 +++++++++++++++++--------
 net/ipv4/tcp_ipv4.c           | 20 ++++++++++++--------
 net/ipv4/tcp_minisocks.c      |  9 +++++----
 net/ipv6/tcp_ipv6.c           | 20 ++++++++++++--------
 6 files changed, 62 insertions(+), 31 deletions(-)
Signature · 1 line
2.37.3