Re: [PATCH net v2] net/packet: defer vmalloc TX_RING free until skbs finish
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <178725782089.470503.8939686138697227562.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Sun, 16 Aug 2026 16:56:46 -0700 you wrote: > AF_PACKET TX_RING skbs keep a raw pointer to their ring frame. The skb > page references preserve page-backed ring blocks after pg_vec is freed, > but they do not preserve a vmalloc mapping. > > tpacket_destruct_skb() currently drops the pending reference before > writing the timestamp and TP_STATUS_AVAILABLE to the frame. Move the > decrement after those stores. The smp_wmb() in __packet_set_status() > orders the frame stores before the decrement. > > [...] Here is the summary with links: - [net,v2] net/packet: defer vmalloc TX_RING free until skbs finish https://git.kernel.org/netdev/net/c/992cc9f94ca9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html