Subject: Re: Where is netif_rx() not safe to use?

From: Jason Lunz <[email-masked]>
Date: Mon, 12 May 2003 15:16:55 +0000 (UTC)

[email-masked] said:
>> I'd like to know if there are situations where netif_rx() is not safe to use. 
>> For example, is it safe to call from a timer or from dev->poll()?
> 
> Sure, that's fine.

from dev->poll()? It could work, but that's abusing the napi design.
netif_rx() is for non-napi drivers.  If a dev has a ->poll() method, it
should use netif_receive_skb().

Jason