netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compare length of req sock queue with sk_max_ack_backlog
@ 2018-02-01 12:34 Tonghao Zhang
  2018-02-01 14:00 ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Tonghao Zhang @ 2018-02-01 12:34 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Linux Kernel Network Developers

Hi Eric
One question for you, In the patch ef547f2ac16 ("tcp: remove
max_qlen_log"),  why we compared the length of req sock queue with
sk_max_ack_backlog. If we remove the max_qlen_log, we should check the
length of req sock queue with tcp_max_syn_backlog, right ?

With this patch, the option "/proc/sys/net/ipv4/tcp_max_syn_backlog"
will be unsed anymore, right ?

I hope we should
1. Add a variate in sock struct, such as sk_max_syn_backlog. Then req
sock queue and accept sock queue can control their max value. When we
create the sock, we can store the tcp_max_syn_backlog value to
sk_max_syn_backlog.

2. Update the backlog, we can update it via ioctl.

Hope for your reply.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-02  5:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 12:34 Compare length of req sock queue with sk_max_ack_backlog Tonghao Zhang
2018-02-01 14:00 ` Eric Dumazet
2018-02-02  1:55   ` Tonghao Zhang
2018-02-02  4:19     ` Eric Dumazet
2018-02-02  5:41       ` Tonghao Zhang

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).