From: David Miller <davem@davemloft.net>
To: laoar.shao@gmail.com
Cc: edumazet@google.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 net-next] tcp: add new SNMP counter for drops when try to queue in rcv queue
Date: Sat, 30 Jun 2018 18:44:06 +0900 (KST) [thread overview]
Message-ID: <20180630.184406.1626314416899588727.davem@davemloft.net> (raw)
In-Reply-To: <1530159776-29919-1-git-send-email-laoar.shao@gmail.com>
From: Yafang Shao <laoar.shao@gmail.com>
Date: Thu, 28 Jun 2018 00:22:56 -0400
> When sk_rmem_alloc is larger than the receive buffer and we can't
> schedule more memory for it, the skb will be dropped.
>
> In above situation, if this skb is put into the ofo queue,
> LINUX_MIB_TCPOFODROP is incremented to track it.
>
> While if this skb is put into the receive queue, there's no record.
> So a new SNMP counter is introduced to track this behavior.
>
> LINUX_MIB_TCPRCVQDROP: Number of packets meant to be queued in rcv queue
> but dropped because socket rcvbuf limit hit.
>
> Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Applied to net-next.
prev parent reply other threads:[~2018-06-30 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-28 4:22 [PATCH v2 net-next] tcp: add new SNMP counter for drops when try to queue in rcv queue Yafang Shao
2018-06-30 9:44 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180630.184406.1626314416899588727.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=laoar.shao@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox