Re: [PATCH net v4] net/packet: account user-triggered allocations to memcg

From: patchwork-bot+netdevbpf

Date: Fri Nov 06 2026 - 16:00:37 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sun, 1 Nov 2026 12:48:47 +0300 you wrote:
> A packet socket makes allocations whose size or count its user chooses
> without charging them to the user's memory cgroup: the blocks and block
> array of a PACKET_RX_RING or PACKET_TX_RING ring and the rx_owner_map
> of a TPACKET_V1/V2 RX ring, the PACKET_FANOUT group (about 1 MB with
> max_num_members = 65536), and one packet_mclist per
> PACKET_ADD_MEMBERSHIP entry. CAP_NET_RAW in a user namespace is enough
> to pin memory far beyond memory.max this way.
>
> [...]

Here is the summary with links:
- [net,v4] net/packet: account user-triggered allocations to memcg
https://git.kernel.org/netdev/net-next/c/f356e90de854

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