lkml.org 
[lkml]   [2018]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 net-next] tcp: add new SNMP counter for drops when try to queue in rcv queue
From
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.

\
 
 \ /
  Last update: 2018-06-30 11:44    [W:0.045 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site