[{"id":1765281,"web_url":"http://patchwork.ozlabs.org/comment/1765281/","msgid":"<20170908115839.GA14561@salvia>","list_archive_url":null,"date":"2017-09-08T11:58:39","subject":"Re: [PATCH] net:netfilter alloc xt_byteslimit_htable with wrong size","submitter":{"id":1315,"url":"http://patchwork.ozlabs.org/api/people/1315/","name":"Pablo Neira Ayuso","email":"pablo@netfilter.org"},"content":"On Fri, Sep 08, 2017 at 11:00:16AM +0800, zhizhou.tian@gmail.com wrote:\n> From: Zhizhou Tian <zhizhou.tian@gmail.com>\n> \n> struct xt_byteslimit_htable used hlist_head,\n> but alloc memory with sizeof(struct list_head)\n\nApplied, thanks.\n\nFor the record, I have mangled the patch titled to:\n\n        netfilter: xt_hashlimit: alloc hashtable with right size","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpbTR4cKGz9sCZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  8 Sep 2017 21:59:23 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754927AbdIHL7I (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 8 Sep 2017 07:59:08 -0400","from ganesha.gnumonks.org ([213.95.27.120]:34565 \"EHLO\n\tganesha.gnumonks.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752524AbdIHL7G (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 8 Sep 2017 07:59:06 -0400","from 129.166.216.87.static.jazztel.es ([87.216.166.129]\n\thelo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa\n\t(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)\n\t(envelope-from <pablo@gnumonks.org>)\n\tid 1dqHvk-0003bM-Jn; Fri, 08 Sep 2017 13:58:42 +0200"],"Date":"Fri, 8 Sep 2017 13:58:39 +0200","From":"Pablo Neira Ayuso <pablo@netfilter.org>","To":"zhizhou.tian@gmail.com","Cc":"kadlec@blackhole.kfki.hu, fw@strlen.de, davem@davemloft.net,\n\tnetfilter-devel@vger.kernel.org, coreteam@netfilter.org,\n\tnetdev@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":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]