On Tue, 7 Dec 1999, Tomi Manninen wrote:

> On Tue, 16 Nov 1999, Jorge Matias wrote:
> 
> >   I don't know if anyone of you has this problem, but I found that
> > everytime ax25d answers a call and spawns a connection to a service it
> > opens "ax25" module for use. The problem is that when the connection is
> > closed we still have the "ax25" module opened.
> >   This means that I can never remove ax25 module from memory because it
> > says it is in use.
> >   When I made my last reboot I had ax25 module opened 725 times.
> 
> I investigated this last week and was able to come up with a possible
> solution to the problem, which seems to be an oversight in the kernel
> code.
> 
> Would people please test the attached patch to linux/net/ax25/af_ax25.c
> (even if you haven't noticed any adverse effects or don't use modules at
> all) and send success and/or failure reports to the list or directly to
> me. Obvliously the patch is against 2.2.13.

  I made the patch and recompiled the kernel. So far the system is working
perfectly. Using command lsmod I see the allocation and deallocation of
ax25 module.
  Now I have only ax25 module Using Count with the value corresponding to
the number of programs running and using it.
  If I see any secundary effect I'll report it here in the mailing list.
  Thank you very much!
  Merry Christmas to you all and a Happy New Year. Have all the fun you
can. :-)

   Jorge Matias
    (CT2HBZ)

> 
> For more details see the Dev-Hams list archives at
> <http://www.hes.iki.fi/archive/dev-hams/>.
> 
> -- 
> Tomi Manninen           Internet:  [EMAIL PROTECTED]
> OH2BNS                  AX.25:     [EMAIL PROTECTED]
> KP20ME04                Amprnet:   [EMAIL PROTECTED]
> 

Reply via email to