---1960038904-513206096-944588864=:1591
Content-Type: TEXT/PLAIN; charset=US-ASCII
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.
For more details see the Dev-Hams list archives at
<http://www.hes.iki.fi/archive/dev-hams/>.
-- Tomi Manninen Internet: terhi.victor@logonet.com OH2BNS AX.25: vcvfhlcb@casema.nl KP20ME04 Amprnet: terhi.victor@logonet.com---1960038904-513206096-944588864=:1591 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="af_ax25.c.diff" Content-Transfer-Encoding: BASE64 Content-ID: <plopsucf.rxpiqfidvk@mail.dy.fi> Content-Description: Content-Disposition: attachment; filename="af_ax25.c.diff"
LS0tIGFmX2F4MjUuYy5vbGQJU3VuIE9jdCAzMSAyMjozMDowNSAxOTk5DQor KysgYWZfYXgyNS5jCVNhdCBEZWMgIDQgMTY6NTE6NTIgMTk5OQ0KQEAgLTEy NjYsOCArMTI2Niw2IEBADQogCW5ld3NrLT5zbGVlcCA9ICZuZXdzb2NrLT53 YWl0Ow0KIA0KIAkvKiBOb3cgYXR0YWNoIHVwIHRoZSBuZXcgc29ja2V0ICov DQotCXNrYi0+c2sgPSBOVUxMOw0KLQlza2ItPmRlc3RydWN0b3IgPSBOVUxM Ow0KIAlrZnJlZV9za2Ioc2tiKTsNCiAJc2stPmFja19iYWNrbG9nLS07DQog CW5ld3NvY2stPnNrICAgID0gbmV3c2s7DQo= ---1960038904-513206096-944588864=:1591--