Skip to content

add more drop reasons 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. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcp: add more DROP REASONs in cookie checkinclude/net/dropreason-core.h net/ipv4/syncookies.c net/ipv4/tcp_ipv4.c+29 -50 replies
2/2tcp: add more DROP REASONs in receive processinclude/net/dropreason-core.h include/net/tcp.h net/ipv4/tcp_input.c +3 more+58 -314 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] add more drop reasons in tcp receive path

From: Jason Xing <[email protected]>

When I was debugging the reason about why the skb should be dropped in syn cookie mode, I found out that this NOT_SPECIFIED reason is too general. Thus I decided to refine it.

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 (2):
tcp: add more DROP REASONs in cookie check
tcp: add more DROP REASONs in receive process

 include/net/dropreason-core.h | 23 ++++++++++++++++++++++-
 include/net/tcp.h             |  4 ++--
 net/ipv4/syncookies.c         | 20 ++++++++++++++++----
 net/ipv4/tcp_input.c          | 26 +++++++++++++++++---------
 net/ipv4/tcp_ipv4.c           | 21 +++++++++++++--------
 net/ipv4/tcp_minisocks.c      | 10 +++++-----
 net/ipv6/tcp_ipv6.c           | 19 ++++++++++++-------
 7 files changed, 87 insertions(+), 36 deletions(-)
Signature · 1 line
2.37.3