Re: [RFC] net: napi fix

Robert Olsson
2007-12-20T10:41:14Z

David Miller writes:

> > Is the netif_running() check even required?
>
> No, it is not.
>
> When a device is brought down, one of the first things
> that happens is that we wait for all pending NAPI polls
> to complete, then block any new polls from starting.

Hello!

Yes but the reason was not to wait for all pending polls to
complete so a server/router could be rebooted even under high-
load and DOS. We've experienced some nasty problems with this.

Cheers.
--ro