From: M Taylor <mctylr@privacy.nb.ca>
To: Tihomir Heidelberg <9a4gl@9a0tcp.ampr.org>
Cc: linux-hams@vger.kernel.org
Subject: Re: ax25 kernel problem sometimes accur
Date: Thu, 5 Dec 2002 01:16:41 +0000 [thread overview]
Message-ID: <20021205011641.A18121@pull.privacy.nb.ca> (raw)
In-Reply-To: <19470@9A0TCP>; from 9a4gl@9a0tcp.ampr.org on Wed, Dec 04, 2002 at 09:20:09PM +0100
On Wed, Dec 04, 2002 at 09:20:09PM +0100, Tihomir Heidelberg wrote:
>
> so, the ax25_free_sock function should look:
> static void ax25_free_sock(struct sock *sk)
> {
> ax25_free_cb(sk->protinfo.ax25);
> sk->protinfo.ax25->sk=NULL;
> }
>
> of course, then you should do make modules;make modules_install
> if you use ax25 in module or make install if you have it compiled
> in kernel.
>
> this should not do anything harmfull in kernel, I am quite sure :)
Well, it could crash your system. sk->protinfo.ax25 is kfree'ed in
the line before it, so you are accessing invalid data...
Your suggestion wants to be equalivent to sk = NULL;,
so you should at least change it to use a valid statement.
Though I wonder if you meant sk->protinfo.ax25 = NULL;
Best Regards,
ve1mct
next prev parent reply other threads:[~2002-12-05 1:16 UTC|newest]
Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-04 7:21 ax25 kernel problem sometimes accur Tihomir Heidelberg
2002-12-04 11:04 ` Sandor Dibuz
2002-12-04 20:20 ` Tihomir Heidelberg
2002-12-04 21:54 ` Kjell Jarl
2002-12-05 1:16 ` M Taylor [this message]
2002-12-05 14:43 ` Tihomir Heidelberg
2002-12-04 19:42 ` Stewart Wilkinson
2002-12-07 1:10 ` Ralf Baechle DO1GRB
2002-12-07 19:32 ` Tomi Manninen
2002-12-07 23:39 ` Ralf Baechle DO1GRB
2002-12-10 14:09 ` Tomi Manninen OH2BNS
2002-12-11 1:40 ` Ralf Baechle DO1GRB
2002-12-11 10:29 ` Tomi Manninen OH2BNS
2002-12-11 12:30 ` Ralf Baechle DO1GRB
2002-12-11 13:36 ` mvw
2002-12-11 15:32 ` Jeroen Vreeken
2002-12-11 17:56 ` Curt Mills, WE7U
2002-12-11 21:57 ` Success! TWO questions remain mvw
2002-12-12 13:16 ` mvw
2002-12-12 13:28 ` Hamish Moffatt
2002-12-12 15:25 ` Margaret Leber
2002-12-12 17:27 ` Curt Mills, WE7U
2002-12-12 17:36 ` Kelly Black
2002-12-12 18:21 ` And another question Michael Willems
2002-12-12 21:14 ` Tomi Manninen
2002-12-19 0:09 ` BBS - recommendations? mvw
2002-12-19 3:59 ` Michael Melanson
2002-12-12 21:44 ` Success! TWO questions remain Hamish Moffatt
2002-12-12 17:34 ` Ken Koster
2002-12-12 20:54 ` Tomi Manninen
2002-12-12 21:45 ` Hamish Moffatt
2002-12-13 3:12 ` Jack Zielke
2002-12-14 15:35 ` listen, permissions mvw
2002-12-14 15:43 ` Luc Langehegermann
2002-12-14 15:59 ` mvw
2002-12-14 17:48 ` Tomi Manninen
2002-12-14 16:07 ` Dennis Boone
2002-12-16 18:36 ` Curt Mills, WE7U
2002-12-24 5:15 ` Simple BBS, again, sorry for asking twice mvw
2002-12-24 6:54 ` Wilbert Knol
2002-12-24 21:43 ` mvw
2002-12-25 2:11 ` Tomi Manninen
2002-12-25 3:55 ` mvw
2002-12-25 4:36 ` fbb compile mvw
2002-12-25 5:13 ` FBB mvw
2002-12-25 9:14 ` FBB Cees Tool
2002-12-25 10:23 ` FBB Joop Stakenborg
2002-12-25 14:54 ` FBB mvw
2002-12-25 23:08 ` FBB Joop Stakenborg
2002-12-26 19:13 ` FBB... any more help? mvw
2002-12-26 23:21 ` Chuck Gelm
2002-12-27 0:05 ` mvw
2002-12-27 2:50 ` Chuck Gelm
2002-12-25 20:01 ` FBB mvw
2002-12-25 21:31 ` FBB Cees Tool
2002-12-25 22:02 ` FBB mvw
2002-12-25 22:38 ` FBB Cees Tool
2002-12-25 22:05 ` FBB... (follow up) mvw
2002-12-25 22:11 ` Tomi Manninen
2002-12-26 4:12 ` mvw
2002-12-25 22:34 ` FBB Tomi Manninen
2002-12-25 22:45 ` FBB Joop Stakenborg
2002-12-25 21:18 ` FBB Tomi Manninen
2002-12-25 5:32 ` Simple BBS, again, sorry for asking twice Steve Fraser
2002-12-25 9:30 ` Wilbert Knol
2002-12-25 21:59 ` Steve Fraser
2002-12-26 0:31 ` Wilbert Knol
2002-12-26 4:10 ` Bob Nielsen
2002-12-26 10:23 ` Wilbert Knol
2002-12-25 8:43 ` Kernel compile option? Vivi Kusumo
2002-12-25 20:24 ` Tomi Manninen
2002-12-29 19:35 ` packet radio indoor Vivi Kusumo
2002-12-29 23:30 ` Wilbert Knol
2002-12-30 21:48 ` packet radio indoor :-( Vivi Kusumo
2002-12-31 6:55 ` Wilbert Knol
2002-12-30 2:39 ` packet radio indoor Chuck Gelm
2002-12-27 7:16 ` Simple BBS, again, sorry for asking twice Robin Gilks
2002-12-27 13:50 ` mvw
2002-12-27 17:41 ` ax25 pakcet problem: any ideas? mvw
2002-12-27 19:14 ` Tomi Manninen
2002-12-27 20:00 ` mvw
2002-12-27 20:14 ` Tomi Manninen
2002-12-30 3:18 ` tcp.ip over ax25, when sent? mvw
2002-12-30 3:24 ` Hamish Moffatt
2002-12-30 3:32 ` Henrique Miranda
2002-12-30 5:28 ` Wilbert Knol
2002-12-30 6:12 ` Bob Nielsen
2002-12-30 6:45 ` Bob Nielsen
2002-12-30 6:58 ` Tomi Manninen OH2BNS
2002-12-30 23:37 ` Bob Nielsen
2002-12-12 17:40 ` Success! TWO questions remain Ken Koster
2002-12-12 18:09 ` Michael Willems
2002-12-12 17:24 ` Curt Mills, WE7U
2002-12-12 14:09 ` cyberdoc
2002-12-17 17:37 ` Thomas Osterried
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021205011641.A18121@pull.privacy.nb.ca \
--to=mctylr@privacy.nb.ca \
--cc=9a4gl@9a0tcp.ampr.org \
--cc=linux-hams@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.