[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101209.120543.112596810.davem@davemloft.net>
Date: Thu, 09 Dec 2010 12:05:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xiaosuo@...il.com
Cc: jengelh@...ozas.de, kaber@...sh.net,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] netfilter: don't need to initialize instance_table
From: Changli Gao <xiaosuo@...il.com>
Date: Thu, 9 Dec 2010 22:27:24 +0800
> On Thu, Dec 9, 2010 at 10:03 PM, Jan Engelhardt <jengelh@...ozas.de> wrote:
>>
>> This is here for correctness and documentation. If the hlist
>> implementation changed, one would have a hard time figuring out the
>> callsites which then need to add the initialization back.
>>
>
> I am quite sure there are other users rely on this assumption. So who
> wants to change the macro INIT_HLIST_HEAD() has to review all the
> code. It is a huge task, but can't be avoided.
Wrong. Adding debugging facilities to the hlist head would just
require changing this macro.
That is, unless we apply patches like your's, which we won't.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists