Skip to content

inet: tcp listener refactoring, part 9

Eric Dumazet netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3inet: fill request sock ir_iif for IPv4net/dccp/ipv4.c net/ipv4/inet_diag.c net/ipv4/syncookies.c +2 more+7 -30 replies
2/3inet_diag: adjust inet_sk_diag_fill() bug conditionnet/ipv4/inet_diag.c+1 -10 replies
3/3inet_diag: factorize code in new inet_diag_msg_common_fill() helpernet/ipv4/inet_diag.c+47 -1010 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/3] inet: tcp listener refactoring, part 9

This preliminary work pushes socket convergence a bit more:

1) request sock ir_iif is universally set

2) inet_diag can use common helpers to reduce LOC

Eric Dumazet (3):
inet: fill request sock ir_iif for IPv4
inet_diag: adjust inet_sk_diag_fill() bug condition
inet_diag: factorize code in new inet_diag_msg_common_fill() helper

 net/dccp/ipv4.c       |   1 +
 net/ipv4/inet_diag.c  | 150 ++++++++++++++++----------------------------------
 net/ipv4/syncookies.c |   2 +
 net/ipv4/tcp_input.c  |   3 +
 net/ipv6/tcp_ipv6.c   |   2 -
 5 files changed, 54 insertions(+), 104 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c