Subject: Re: Kernel crash after using new Intel NIC (igb)

From: Arun Sharma <[email-masked]>
Date: Thu, 26 May 2011 17:09:41 -0700

On 5/26/11 3:01 PM, Eric Dumazet wrote:

>> Yeah - using the refcnt seems better than list_empty(), but I'm not sure
>> that your patch addresses the race above.
>
> It does.

True. I can't find any holes in this method and it resolves the "failure 
to unlink from unused" case.

Perhaps wrap the while(1) loop into its own primitive in atomic.h or use 
an existing primitive?

  -Arun