[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKtf2oNPJTP-Ts=MA1e5KNHbN77NWCOKGp37SMeosXxCw@mail.gmail.com>
Date: Mon, 26 Aug 2024 09:10:16 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Liu Mingrui <liumingrui@...wei.com>
Cc: willemdebruijn.kernel@...il.com, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH -next] af_packet: display drop field in packet_seq_show
On Mon, Aug 26, 2024 at 3:26 AM Liu Mingrui <liumingrui@...wei.com> wrote:
>
> Display the dropped count of the packet, which could provide more
> information for debugging.
>
> Signed-off-by: Liu Mingrui <liumingrui@...wei.com>
Old /proc interface is legacy, we do not accept changes in it.
Instead, change net/packet/diag.c , iproute2/ss and use "ss -0".
Also, your patch is not correct, because of getsockopt( ...
PACKET_STATISTICS ... )
Powered by blists - more mailing lists