Subject: Re: [PATCH net] net-packet: restore packet statistics tp_packets to include drops

From: Sergei Shtylyov <[email-masked]>
Date: Mon, 19 Aug 2013 22:22:18 +0400

Hello.

On 08/18/2013 11:58 PM, Willem de Bruijn wrote:

> getsockopt PACKET_STATISTICS returns tp_packets + tp_drops.
> Commit ee80fbf301 cleaned up the getsockopt PACKET_STATISTICS code.

    Please also specify that commit's summary in parens.

> 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 <[email-masked]>

WBR, Sergei