Thread (22 messages) 22 messages, 3 authors, 2025-09-03

Re: [PATCH 7/7] netpoll: Flush skb_pool as part of netconsole cleanup

From: Breno Leitao <leitao@debian.org>
Date: 2025-09-03 16:55:10
Also in: linux-rt-devel, lkml

On Tue, Sep 02, 2025 at 05:09:38PM -0700, Jakub Kicinski wrote:
On Tue, 02 Sep 2025 07:36:29 -0700 Breno Leitao wrote:
quoted
@@ -607,8 +596,6 @@ static void __netpoll_cleanup(struct netpoll *np)
 		call_rcu(&npinfo->rcu, rcu_cleanup_netpoll_info);
 	} else
 		RCU_INIT_POINTER(np->dev->npinfo, NULL);
-
-	skb_pool_flush(np);
 }
 
Please don't post conflicting patches to net and net-next.
Fixes have to go in first, trees converge, and then the net-next patches
can be posted.
Ack. I will wait until the invalid cleanup patch[1] lands in net-next
before submitting a v2 for this change.

Link: https://lore.kernel.org/all/20250901-netpoll_memleak-v1-1-34a181977dfc@debian.org/ (local) [1]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help