Queue drop not accounted ?

Arnaud Lacombe lacombar at gmail.com
Fri Sep 16 21:12:30 UTC 2011


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
>


More information about the freebsd-net mailing list