From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next] tcp: replace LINUX_MIB_TCPOFODROP with LINUX_MIB_TCPRMEMFULLDROP for drops due to receive buffer full Date: Wed, 27 Jun 2018 08:52:42 -0700 Message-ID: <62f71b1a-6f2c-a475-a8df-4c4ba3a32285@gmail.com> References: <1530100216-13070-1-git-send-email-laoar.shao@gmail.com> <72f02552-9375-bf81-6a03-42656168b583@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Eric Dumazet , David Miller , netdev , LKML To: Yafang Shao , Eric Dumazet Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 06/27/2018 08:38 AM, Yafang Shao wrote: > On Wed, Jun 27, 2018 at 11:27 PM, Eric Dumazet wrote: >> >> >> On 06/27/2018 08:14 AM, Yafang Shao wrote: >> >>> Got it! >>> >>> What about introduce a new counter, i.e. TCPRcvQFullDrop ? >> >> tcp_try_rmem_schedule() can fail for many different reasons, >> not related to how occupied the socket receive queue is. > > Yes. So TCPRcvQDrop would be more specific ? Yes, this looks better.