Subject: Re: [net-2.6 PATCH] nete zero kobject in rx_queue_release

From: John Fastabend <[email-masked]>
Date: Mon, 15 Nov 2010 18:06:52 -0800

On 11/14/2010 3:15 PM, David Miller wrote:
> From: Tom Herbert <[email-masked]>
> Date: Sun, 14 Nov 2010 14:40:00 -0800
> 
>>> So we'll need something like:
>>>
>>>        if (atomic_dec_and_test(&first->count))
>>>                kfree(first);
>>>        else
>>>                /* clear everything except queue->first */
>>>
>>
>> The patches to get rid of the separate refcnt should obviate this
>> complexity.  Could just clear the queue in kobject release.
> 
> True but we'll still need a patch for older kernels.

OK Thanks. I'll have a stable patch and a net-2.6 patch soon.

-- John