diff options
author | Eric Dumazet <edumazet@google.com> | 2024-10-10 17:48:14 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-14 17:39:36 -0700 |
commit | bc43a3c83cad46a27d6e3bf869acdd926bbe79ad (patch) | |
tree | 1d6be7db5eac427b79b700e66340db97b86fb1e5 /net/core/sock.c | |
parent | 78e2baf3d96edd21c6f26d8afc0e68d02ec2c51c (diff) | |
download | linux-bc43a3c83cad46a27d6e3bf869acdd926bbe79ad.tar.gz linux-bc43a3c83cad46a27d6e3bf869acdd926bbe79ad.tar.bz2 linux-bc43a3c83cad46a27d6e3bf869acdd926bbe79ad.zip |
net_sched: sch_fq: prepare for TIME_WAIT sockets
TCP stack is not attaching skb to TIME_WAIT sockets yet,
but we would like to allow this in the future.
Add sk_listener_or_tw() helper to detect the three states
that FQ needs to take care.
Like NEW_SYN_RECV, TIME_WAIT are not full sockets and
do not contain sk->sk_pacing_status, sk->sk_pacing_rate.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Brian Vazquez <brianvv@google.com>
Link: https://patch.msgid.link/20241010174817.1543642-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions