> Ok, I must admit that I did not really knew how the kernel-ax25 works,
> it just looked reasonable because the other timers are stopped in this
> function, too. Ok, I think ax25_stop_heartbeat() has to be called, but not
> in ax25_disconnect() which is called at normal disconnects too, but only
> when the interface is shut down. perhaps in ax25_kill_by_device in
> ax25_dev.c? Can people who have some more knowledge than me comment
> on that please?
That sounds about right.
I can't remember the exact details at the moment, but when I wrote the kernel
AX.25, the idea behind the ax25_kill_by_device was to remove all traces of
any connections via that device. Exactly in the case of when an interface is
downed.
This releasing of resources should include, all memory, and all timers.
Therefore the heartbeat timer for a particular connection whould be
amongst the things released at this time otherwise bad things can and do
happen.
> Sorry, hp
Don't be sorry.
Jonathan HB9/G4KLX