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

Karsten Graul
2022-02-09T07:56:51Z

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