Re: Queue drop not accounted ?

From: Arnaud Lacombe <lacombar_at_gmail.com>
Date: Fri, 16 Sep 2011 17:12:28 -0400
Hi,

On Fri, Sep 16, 2011 at 3:40 PM, YongHyeon PYUN <pyunyh_at_gmail.com> wrote:
> On Thu, Sep 15, 2011 at 09:25:19PM -0400, Arnaud Lacombe wrote:
>> Hi,
>>
>> Shouldn't packet freed in IFQ_ENQUEUE() because the queue is full be
>> accounted as dropped, cf attached patch ?
>>
>
> Hmm, I think err would be set to ENOBUFS for queue full case and
> this err will crease ifq_drops.
>
oh, yeah, I missed the increment not using the accessors after the branch.

A.

>> Thanks,
>>  - Arnaud
>
Received on Fri Sep 16 2011 - 19:12:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC