Re: [PATCH v2 net-next] net: introduce SO_RCVBUFAUTO to let the rcv_buf tune automatically

From: Eric Dumazet
Date: Wed Feb 16 2022 - 11:56:38 EST


On Tue, Feb 15, 2022 at 10:58 PM Jason Xing <kerneljasonxing@xxxxxxxxx> wrote:
> Just now, I found out that the latest kernel has merged a similar
> patch (commit 04190bf89) about three months ago.

There you go :)

>
> Is it still necessary to add another separate option to clear the
> SOCK_RCVBUF_LOCK explicitly?

What do you mean, SO_BUF_LOCK is all that is needed.