From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 4/6] netfilter: xtables2: make ip_tables reentrant Date: Tue, 13 Apr 2010 12:51:36 +0200 Message-ID: <4BC44CB8.4080405@trash.net> References: <1270666217-27670-1-git-send-email-jengelh@medozas.de> <1270666217-27670-5-git-send-email-jengelh@medozas.de> <4BC44009.4080206@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org, YOSHIFUJI Hideaki To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:46886 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164Ab0DMKvi (ORCPT ); Tue, 13 Apr 2010 06:51:38 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On Tuesday 2010-04-13 11:57, Patrick McHardy wrote: >> Jan Engelhardt wrote: >>> diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c >>> index 8e23d8f..2010b56 100644 >>> --- a/net/netfilter/x_tables.c >>> +++ b/net/netfilter/x_tables.c >>> @@ -62,6 +62,11 @@ static const char *const xt_prefix[NFPROTO_NUMPROTO] = { >>> [NFPROTO_IPV6] = "ip6", >>> }; >>> >>> +/* Allow this many total (re)entries. */ >>> +static unsigned int xt_jumpstack_multiplier = 2; >>> +module_param_named(jumpstack_multiplier, xt_jumpstack_multiplier, >>> + uint, S_IRUGO | S_IWUSR); >>> + >> This seems very wrong. Why should the user care about this? > > Who said every sysfs variable is for end-users? Then who should care? > >> Perhaps actually getting rid of >> the per-cpu copies of the ruleset could convince me :) > > It will be my pleasure - actually, I have patches for that > just waiting! >