Subject: Re: [PATCH] net: remove the unnecessary list_del

From: Gao feng <[email-masked]>
Date: Mon, 25 Feb 2013 13:03:04 +0800

On 2013/02/25 12:54, David Miller wrote:
> From: Gao feng <[email-masked]>
> Date: Mon, 25 Feb 2013 12:41:56 +0800
> 
>> These lists are used by unregister_netdevice_many,
>> they are local variables,will not be seen by others.
>> there is no need to delete them.
>>
>> Signed-off-by: Gao feng <[email-masked]>
> 
> What about the devices on the list?  The ones at the front and the
> rear of the list will have list pointers that point into no longer
> valid stack frame locations.

These lists are only used by unregister_netdevice_many,
we don't access these lists again after unregister_netdevice_many,
so I think it doesn't have invalid stack frame locations problems.