On Wed, 19 Apr 2023 17:36:20 +0200 Jesper Dangaard Brouer wrote: > This reminds me that Jakub's recent defer patches returning pages > 'directly' to the page_pool alloc-cache, will actually result in this > kind of bug. This is because page_pool_destroy() assumes that pages > cannot be returned to alloc-cache, as driver will have "disconnected" RX > side. We need to address this bug separately. Mm, I think you're right. The NAPI can get restarted with a different page pool and the old page pool will still think it's in use.