netdev
[Top] [All Lists]

Re: [PATCH 2.5.69] wanrouter clean up MOD_*_USE_COUNT

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH 2.5.69] wanrouter clean up MOD_*_USE_COUNT
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Wed, 21 May 2003 21:40:18 -0300
Cc: daniel@xxxxxxxx, ncorbic@xxxxxxxxxxx, dm@xxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030521.162707.88487215.davem@xxxxxxxxxx>
Organization: Conectiva S.A.
References: <1053550112.2444.35.camel@xxxxxxxxxxxxxxxxxx> <20030521231801.GE10295@xxxxxxxxxxxxxxxx> <20030521.162707.88487215.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
Em Wed, May 21, 2003 at 04:27:07PM -0700, David S. Miller escreveu:
>    From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
>    Date: Wed, 21 May 2003 20:18:01 -0300
>    
>    Already submitted to DaveM, CCed netdev, I'll fix this later
>    tonight.
> 
> Note that, as I said in another email, these MOD_* calls can't just be
> deleted, the PROCFS registry etc. have to set ->owner fields correctly
> before this is valid.

Agreed.
 
> By just removing MOD_*(), I can load just wanrouter, open a proc file,
> unload the wanrouter module, and crash.

yup.

<Prev in Thread] Current Thread [Next in Thread>