All of lore.kernel.org
 help / color / mirror / Atom feed
* [Dovetail] v6.14: fix up to oob page pool
@ 2025-03-03 14:11 Philippe Gerum
  2025-03-03 14:19 ` Florian Bezdeka
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Gerum @ 2025-03-03 14:11 UTC (permalink / raw)
  To: Florian Bezdeka; +Cc: Xenomai


Hi Florian,

For some reason, the hunk below disappeared from the Dovetail v6.13 code
when rebasing on v6.14-rc, this causes a crash at boot when
CONFIG_PAGE_POOL_OOB is turned on. This fix up should be merged to:

e4ecbcc40e7e6 net: dovetail: add infrastructure for oob device I/O

diff --git a/net/core/page_pool.c b/net/core/page_pool.c
index 7860c3a88c5d2..07ad13dd5ed2e 100644
--- a/net/core/page_pool.c
+++ b/net/core/page_pool.c
@@ -563,7 +563,7 @@ static noinline netmem_ref __page_pool_alloc_pages_slow(struct page_pool *pool,
 		return pool->alloc.cache[--pool->alloc.count];
 
 	/* Mark empty alloc.cache slots "empty" for alloc_pages_bulk */
-	memset(&pool->alloc.cache, 0, sizeof(void *) * bulk);
+	memset(pool->alloc.cache, 0, sizeof(void *) * bulk);
 
 	nr_pages = alloc_pages_bulk_node(gfp, pool->p.nid, bulk,
 					 (struct page **)pool->alloc.cache);

-- 
Philippe.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-04  9:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03 14:11 [Dovetail] v6.14: fix up to oob page pool Philippe Gerum
2025-03-03 14:19 ` Florian Bezdeka
2025-03-03 14:25   ` Philippe Gerum
2025-03-03 14:44     ` Florian Bezdeka
2025-03-04  9:54       ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.