[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130820.172437.2089717645078465295.davem@davemloft.net>
Date: Tue, 20 Aug 2013 17:24:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: willemb@...gle.com, netdev@...r.kernel.org,
sergei.shtylyov@...entembedded.com
Subject: Re: [PATCH net] packet: restore packet statistics tp_packets to
include drops
From: Daniel Borkmann <dborkman@...hat.com>
Date: Mon, 19 Aug 2013 23:11:08 +0200
> On 08/19/2013 10:40 PM, Willem de Bruijn wrote:
>> getsockopt PACKET_STATISTICS returns tp_packets + tp_drops. Commit
>> ee80fbf301 ("packet: account statistics only in tpacket_stats_u")
>> cleaned up the getsockopt PACKET_STATISTICS code.
>> This also changed semantics. Historically, tp_packets included
>> tp_drops on return. The commit removed the line that adds tp_drops
>> into tp_packets.
>>
>> This patch reinstates the old semantics.
>>
>> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
>
> Acked-by: Daniel Borkmann <dborkman@...hat.com>
Applied, thanks.
--
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