em driver issues

Joerg Sonnenberger joerg at britannica.bec.de
Thu Feb 3 18:28:26 PST 2005


On Thu, Feb 03, 2005 at 06:13:52PM -0800, Matthew Dillon wrote:
> :
> :This is the culprot. We have to check for mcl == NULL before the free
> :as the bare minum. Matt, shouldn't we either block or return if the
> :allocation for mcl fails?
> :
> :Joerg
> 
>     I am breaking out of the loop immediately.  The MCL allocation will
>     fail and EM should drop the packet.

For the em(4) usage, that's fine. But what about MB_WAITOK allocations?

Joerg





More information about the Users mailing list