From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [RFC] SECMARK 1.1 Date: Mon, 15 May 2006 08:04:46 +0200 Message-ID: <446819FE.8050300@trash.net> References: <446778F0.6000705@trash.net> <446811D3.5080905@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: selinux@tycho.nsa.gov, netdev@vger.kernel.org, netfilter-devel@lists.netfilter.org, Stephen Smalley , Daniel J Walsh , Karl MacMillan , "David S. Miller" , Thomas Bleher Return-path: Received: from stinky.trash.net ([213.144.137.162]:50307 "EHLO stinky.trash.net") by vger.kernel.org with ESMTP id S932230AbWEOGEr (ORCPT ); Mon, 15 May 2006 02:04:47 -0400 To: James Morris In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org James Morris wrote: > On Mon, 15 May 2006, Patrick McHardy wrote: > > >>>>This will load the conntrack modules even if the track flag is not set. >>> >>> >>>I guess need_conntrack() could be moved to checkentry() and only called >>>if the track flag is set. >> >> >>That won't help, the function itself does nothing, its just a symbol >>dependency. > > > Not sure what you mean: it will cause ip_conntrack to be loaded, which > is needed when you specify the track flag. Yes, but the reason why it is loaded is because the module loader needs to resolve the symbol, not because of anything done at module runtime.