DragonFly BSD
DragonFly users List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: em driver issues


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 4 Feb 2005 03:27:25 +0100
Mail-followup-to: users@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]