Skip to contentSkip to conversation

tcp: remove unused TCP_SYNQ_INTERVAL definition

PATCH Applied Neal Cardwell 4 participants 4 messages May 25, 2023 – May 26, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcp: remove unused TCP_SYNQ_INTERVAL definition

From: Neal Cardwell <[email protected]>

Currently TCP_SYNQ_INTERVAL is defined but never used.

According to "git log -S TCP_SYNQ_INTERVAL net-next/main" it seems the last references to TCP_SYNQ_INTERVAL were removed by 2015 commit fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer")

---
 include/net/tcp.h | 2 --
 1 file changed, 2 deletions(-)
include/net/tcp.h +0 -2
index 02a6cff1827e..8123de1e0db9 100644
@@ -161,8 +161,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
 #define MAX_TCP_KEEPCNT		127
 #define MAX_TCP_SYNCNT		127
 
-#define TCP_SYNQ_INTERVAL	(HZ/5)	/* Period of SYNACK timer */
-
 #define TCP_PAWS_24DAYS	(60 * 60 * 24 * 24)
 #define TCP_PAWS_MSL	60		/* Per-host timestamps are invalidated
 					 * after this time. It should be equal
Signature · 1 line
2.40.1.698.g37aff9b760-goog
Reviewed-by on v1 1/1
#1 lore raw

+ missing maintainer, Paolo.

Quoted 9 lines · Neal Cardwell

From: Neal Cardwell <[email protected]>

Currently TCP_SYNQ_INTERVAL is defined but never used.

According to "git log -S TCP_SYNQ_INTERVAL net-next/main" it seems the last references to TCP_SYNQ_INTERVAL were removed by 2015 commit fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer")

Reviewed-by on v1 1/1
#2 lore raw
In reply to Neal Cardwell
Quoted 11 lines · Neal Cardwell

From: Neal Cardwell <[email protected]>

Currently TCP_SYNQ_INTERVAL is defined but never used.

According to "git log -S TCP_SYNQ_INTERVAL net-next/main" it seems the last references to TCP_SYNQ_INTERVAL were removed by 2015 commit fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer")

---

Someone is cleaning up packetdrill tests ;)

#3 lore raw
In reply to Neal Cardwell
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 9 lines · On Thu, 25 May 2023 10:57:36 -0400 you wrote:

From: Neal Cardwell <[email protected]>

Currently TCP_SYNQ_INTERVAL is defined but never used.

According to "git log -S TCP_SYNQ_INTERVAL net-next/main" it seems the last references to TCP_SYNQ_INTERVAL were removed by 2015 commit fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer")

[...]

Here is the summary with links:
- [net-next] tcp: remove unused TCP_SYNQ_INTERVAL definition

    https://git.kernel.org/netdev/net-next/c/f26f03b30319

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html