Re: [PATCH net-next-2.6] ip: Report qdisc packet drops
From: Christoph Lameter <hidden>
Date: 2009-09-02 14:23:32
From: Christoph Lameter <hidden>
Date: 2009-09-02 14:23:32
On Tue, 1 Sep 2009, David Miller wrote:
quoted
2) Submit a patch to account for qdisc-dropped frames in SNMP counters but still return a OK to user application, to not break them ?Sounds good.
Great. That was my initial suggestion and it would ensure that no apps break.
If we are to make such applications "more sophisticated" such converted apps can be indicated simply their use of IP_RECVERR.
There may be a minor issue here in that IP_RECVERR sometimes sends error packets that have to be intercepted using special code. Or can those be simply ignored? If so then I will ask UDP app vendors to use IP_RECVERR.
As usual, Alexey Kuznetsov's analysis of this situation is timeless, accurate, and wise. And he understood all of this 10+ years ago.
His code was just slightly buggy .... ;-)