Skip to content

tcp: make trace of reset logic complete

Jason Xing linux-trace-kernel netdev 4 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. v4 Latest2 patches 0 repliesApplied 2/2
  2. v33 patches 6 repliesSuperseded
  3. v23 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches5 repliesSuperseded

Patches in v4 All 2 applied

#Subject and filesSizeRepliesApplied
1/2trace: adjust TP_STORE_ADDR_PORTS_SKB() parametersinclude/trace/events/net_probe_common.h include/trace/events/tcp.h include/trace/events/udp.h+13 -110 repliesApplied
2/2trace: tcp: fully support trace_tcp_send_resetinclude/trace/events/tcp.h net/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+43 -70 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEric Dumazet
1/2R-b
2/2

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

Read the v4 thread

Cover letter [PATCH net-next v4 0/2] tcp: make trace of reset logic complete

From: Jason Xing <[email protected]>

Before this, we miss some cases where the TCP layer could send RST but we cannot trace it. So I decided to complete it :)

v4

1. rebased against latest net-next
2. remove {} and add skb test statement (Eric)
3. drop v3 patch [3/3] temporarily because 1) location is not that useful since we can use perf or something else to trace, 2) Eric said we could use drop_reason to show why we have to RST, which is good, but this seems not work well for those ->send_reset() logic. I need more time to investigate this part.

v3
1. fix a format problem in patch [3/3]

v2
1. fix spelling mistakes

Jason Xing (2):
trace: adjust TP_STORE_ADDR_PORTS_SKB() parameters
trace: tcp: fully support trace_tcp_send_reset

 include/trace/events/net_probe_common.h | 20 ++++++------
 include/trace/events/tcp.h              | 42 +++++++++++++++++++++++--
 include/trace/events/udp.h              |  2 +-
 net/ipv4/tcp_ipv4.c                     |  7 ++---
 net/ipv6/tcp_ipv6.c                     |  3 +-
 5 files changed, 56 insertions(+), 18 deletions(-)
Signature · 1 line
2.37.3