aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_fastopen.c
diff options
context:
space:
mode:
authorJeremy Harris <[email protected]>2025-04-23 12:43:33 +0000
committerJakub Kicinski <[email protected]>2025-04-25 01:21:04 +0000
commitbc2550b4e195754fbb24aac1f012d3dd9e3b4edc (patch)
tree8ba89875152337e315411b96215348401799c10c /net/ipv4/tcp_fastopen.c
parentnet: ip_gre: Fix spelling mistake "demultiplexor" -> "demultiplexer" (diff)
downloadkernel-bc2550b4e195754fbb24aac1f012d3dd9e3b4edc.tar.gz
kernel-bc2550b4e195754fbb24aac1f012d3dd9e3b4edc.zip
tcp: fastopen: note that a child socket was created
tcp: fastopen: note that a child socket was created This uses up the last bit in a field of tcp_sock. Signed-off-by: Jeremy Harris <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Reviewed-by: Neal Cardwell <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
-rw-r--r--net/ipv4/tcp_fastopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_fastopen.c b/net/ipv4/tcp_fastopen.c
index 1a6b1bc54245..9b83d639b5ac 100644
--- a/net/ipv4/tcp_fastopen.c
+++ b/net/ipv4/tcp_fastopen.c
@@ -401,6 +401,7 @@ fastopen:
}
NET_INC_STATS(sock_net(sk),
LINUX_MIB_TCPFASTOPENPASSIVE);
+ tcp_sk(child)->syn_fastopen_child = 1;
return child;
}
NET_INC_STATS(sock_net(sk),