lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Dec 2023 11:39:06 +0100
From: Eric Dumazet <>
To: Yan Zhai <>
Cc:, "David S. Miller" <>, 
	Jakub Kicinski <>, Paolo Abeni <>, 
	Willem de Bruijn <>, Weongyo Jeong <>,,, 
	Jesper Brouer <>
Subject: Re: [PATCH v3 net-next] packet: add a generic drop reason for receive

On Fri, Dec 1, 2023 at 7:32 PM Yan Zhai <> wrote:
> Commit da37845fdce2 ("packet: uses kfree_skb() for errors.") switches
> from consume_skb to kfree_skb to improve error handling. However, this
> could bring a lot of noises when we monitor real packet drops in
> kfree_skb[1], because in tpacket_rcv or packet_rcv only packet clones
> can be freed, not actual packets.
> Adding a generic drop reason to allow distinguish these "clone drops".
> [1]:
> Fixes: da37845fdce2 ("packet: uses kfree_skb() for errors.")
> Suggested-by: Eric Dumazet <>
> Signed-off-by: Yan Zhai <>
> ---

Reviewed-by: Eric Dumazet <>

Powered by blists - more mailing lists