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:43:40 +0200 Message-ID: <4468231C.6090209@trash.net> References: <446778F0.6000705@trash.net> <446811D3.5080905@trash.net> <446819FE.8050300@trash.net> <44681F0F.9030601@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]:42886 "EHLO stinky.trash.net") by vger.kernel.org with ESMTP id S932343AbWEOGnn (ORCPT ); Mon, 15 May 2006 02:43:43 -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: > > >>But if you don't specify --track, the module loader will still have to >>resolve the symbol, so it gets loaded anyway, before your code will >>even run. Just look at need_conntrack(): > > > Doh. It should be try_module_get(). Sound ok? try_module_get already needs a module reference, so this won't work either. As far as I can tell the only thing you can do besides putting it in a seperate module is to manually call request_module().