From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754968AbdIHL7I (ORCPT ); Fri, 8 Sep 2017 07:59:08 -0400 Received: from ganesha.gnumonks.org ([213.95.27.120]:34565 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752524AbdIHL7G (ORCPT ); Fri, 8 Sep 2017 07:59:06 -0400 Date: Fri, 8 Sep 2017 13:58:39 +0200 From: Pablo Neira Ayuso To: zhizhou.tian@gmail.com Cc: kadlec@blackhole.kfki.hu, fw@strlen.de, davem@davemloft.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net:netfilter alloc xt_byteslimit_htable with wrong size Message-ID: <20170908115839.GA14561@salvia> References: <1504839616-14519-1-git-send-email-zhizhou.tian@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504839616-14519-1-git-send-email-zhizhou.tian@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 08, 2017 at 11:00:16AM +0800, zhizhou.tian@gmail.com wrote: > From: Zhizhou Tian > > struct xt_byteslimit_htable used hlist_head, > but alloc memory with sizeof(struct list_head) Applied, thanks. For the record, I have mangled the patch titled to: netfilter: xt_hashlimit: alloc hashtable with right size