Re: [PATCH net] net: cancel napi->timer after the grace period in netif_napi_del()

From: Mani Tofigh

Date: Thu Nov 05 2026 - 16:43:45 EST


On 11/3/26 7:55 PM, Martin Karsten wrote:
    if (unlikely(napi_is_scheduled(n)))
      hrtimer_cancel(&n->timer);


This worked here too, but I think the cancel could hit a timer that a
new owner just armed (e.g., a busy poller that clears SCHED and arms
its own timer right before our check). I'll go with Eric's version.

Thanks!
Mani