From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue() Date: Mon, 3 Sep 2012 17:31:51 +0200 Message-ID: <20120903153151.GC19926@1984> References: <5035C6E6.6040001@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: LKML , "netdev@vger.kernel.org" , coreteam@netfilter.org, netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org, David Miller , kaber@trash.net To: Michael Wang Return-path: Content-Disposition: inline In-Reply-To: <5035C6E6.6040001@linux.vnet.ibm.com> Sender: netfilter-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org On Thu, Aug 23, 2012 at 02:00:06PM +0800, Michael Wang wrote: > From: Michael Wang > > Since 'list_for_each_continue_rcu' has already been replaced by > 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a > parameter can not benefit us any more. > > This patch will replace 'list_head' with 'nf_hook_ops' as the parameter of > nf_queue() and __nf_queue() to save code. Applied, thanks.