Thread (23 messages) 23 messages, 3 authors, 2022-02-09

Re: [PATCH net-next v5 2/5] net/smc: Limit backlog connections

flat view

From: Karsten Graul <hidden>
Date: 2022-02-09 07:56:51
Also in: linux-rdma, linux-s390

On 09/02/2022 08:11, D. Wythe wrote:
There are indirectly limits on smc accept queue with following code.

+    if (sk_acceptq_is_full(&smc->sk)) {
+        NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS);
+        goto drop;
+    }


In fact, we treat the connections in smc accept queue as Full establisted connection. As I wrote in patch commits, there are trade-offs to this implemets.
Thanks for the clarification, I got your point. You refer to the call to sk_acceptq_added()
in smc_accept_enqueue().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help