netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	 Paolo Abeni <pabeni@redhat.com>,
	Neal Cardwell <ncardwell@google.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.com>,
	Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org,  eric.dumazet@gmail.com,
	Eric Dumazet <edumazet@google.com>
Subject: [PATCH v2 net-next 0/2] tcp/dccp: remove 16 bytes from icsk
Date: Tue, 18 Mar 2025 15:43:57 +0000	[thread overview]
Message-ID: <20250318154359.778438-1-edumazet@google.com> (raw)

icsk->icsk_timeout and icsk->icsk_ack.timeout can be removed.

They mirror existing fields in icsk->icsk_retransmit_timer and
icsk->icsk_retransmit_timer.

v2: rebase, plus Kuniyuki tags.

Eric Dumazet (2):
  tcp/dccp: remove icsk->icsk_timeout
  tcp/dccp: remove icsk->icsk_ack.timeout

 .../net_cachelines/inet_connection_sock.rst   |  4 +---
 include/net/inet_connection_sock.h            | 22 +++++++++++++------
 net/dccp/output.c                             |  5 ++---
 net/dccp/timer.c                              |  8 +++----
 net/ipv4/inet_diag.c                          |  4 ++--
 net/ipv4/tcp_ipv4.c                           |  4 ++--
 net/ipv4/tcp_output.c                         |  7 +++---
 net/ipv4/tcp_timer.c                          | 16 ++++++++------
 net/ipv6/tcp_ipv6.c                           |  4 ++--
 net/mptcp/options.c                           |  1 -
 net/mptcp/protocol.c                          |  3 +--
 .../selftests/bpf/progs/bpf_iter_tcp4.c       |  4 ++--
 .../selftests/bpf/progs/bpf_iter_tcp6.c       |  4 ++--
 13 files changed, 45 insertions(+), 41 deletions(-)

-- 
2.49.0.rc1.451.g8f38331e32-goog


             reply	other threads:[~2025-03-18 15:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-18 15:43 Eric Dumazet [this message]
2025-03-18 15:43 ` [PATCH v2 net-next 1/2] tcp/dccp: remove icsk->icsk_timeout Eric Dumazet
2025-03-18 15:43 ` [PATCH v2 net-next 2/2] tcp/dccp: remove icsk->icsk_ack.timeout Eric Dumazet
2025-03-20 18:38   ` Simon Horman
2025-03-20 19:00     ` Eric Dumazet
2025-03-20 20:10       ` Simon Horman
2025-03-24 19:38   ` Jakub Kicinski
2025-03-24 19:44     ` Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250318154359.778438-1-edumazet@google.com \
    --to=edumazet@google.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kuniyu@amazon.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).