[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0908281556480.17784@gentwo.org>
Date: Fri, 28 Aug 2009 16:00:24 -0400 (EDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: David Miller <davem@...emloft.net>
cc: eric.dumazet@...il.com, sri@...ibm.com, dlstevens@...ibm.com,
netdev@...r.kernel.org, niv@...ux.vnet.ibm.com
Subject: Re: UDP multicast packet loss not reported if TX ring overrun?
On Fri, 28 Aug 2009, David Miller wrote:
> I'm not accepting changes like the patch you propose here, it's not
> the correct thing to do.
>
> The device never saw the packet, it never dropped it.
>
> The qdisc saw it, the qdisc dropped it, and therefore that's where we
> account for it.
udp send currently drops packets without any error message and without
incrementing any counters.
That occurs only if the socket option IP_RECVERR is not set.
If you set IP_RECVERR then statistics are kept about dropped packets and
they are displayed as drops at the IP and UDP layer.
Are you saying that this behavior is okay? It is desired behavior that a
socket option changes the way how global network counters are handled?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists