From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] netfilter: nf_log fix Date: Wed, 15 Apr 2009 12:20:47 +0200 Message-ID: <49E5B4FF.50606@trash.net> References: <20090410191736.21efab8c@mako-desktop> <49E4744D.5090205@trash.net> <49E47C2D.1050508@cosmosbay.com> <49E47EA5.3060706@trash.net> <20090414211946.4ea0455e@mako-desktop> <49E4EE9C.7040509@cosmosbay.com> <1239742000.24204.9.camel@ice-age> <49E4FB0C.1080103@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Leblond , Mariusz Kozlowski , Kernel Testers List , "linux-kernel@vger.kernel.org" , Netfilter Development Mailinglist , Linux Netdev List To: Eric Dumazet Return-path: In-Reply-To: <49E4FB0C.1080103@cosmosbay.com> Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org Eric Dumazet wrote: > OK thanks everybody, I submit it more formally then, using ARRAY_SIZE() macro too :) > > [PATCH] netfilter: nf_log fix > > commit ca735b3aaa945626ba65a3e51145bfe4ecd9e222 > 'netfilter: use a linked list of loggers' > introduced an array of list_head in "struct nf_logger", but > forgot to initialize it in nf_log_register(). This resulted > in oops when calling nf_log_unregister() at module unload time. > > Reported-and-tested-by: Mariusz Kozlowski > Signed-off-by: Eric Dumazet > Acked-by: Eric Leblond Applied, thanks everyone.