Re: [PATCH v4 net-next] packet: add a generic drop reason for receive

From
patchwork-bot+netdevbpf@kernel.org
Date
2023-12-06 06:00:31
Also in
lkml
Reply to
Yan Zhai, 2023-12-04
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Mon, 4 Dec 2023 11:33:28 -0800 you 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".

[...]
Here is the summary with links:
  - [v4,net-next] packet: add a generic drop reason for receive
    https://git.kernel.org/netdev/net-next/c/2f57dd94bdef

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (4 messages) 4 messages, 4 authors, last reply 2023-12-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help