The following patch works fine on my system.
I tried to ifconfig up & down many times and nothing strange occurs.
Please try it and let me now .
Stefano Corti - IZ0BBZ
Internet mail: [EMAIL PROTECTED]
AX25 mail: [EMAIL PROTECTED]
--- /usr/src/linux/net/ax25/af_ax25.c Sun Jun 20 13:49:07 1999
+++ /usr/src/linux/net/ax25/af_ax25.c Sun Jun 20 11:42:49 1999
@@ -200,6 +200,9 @@
if (s->ax25_dev == ax25_dev) {
s->ax25_dev = NULL;
ax25_disconnect(s, ENETUNREACH);
+ ax25_stop_heartbeat(s);
+ ax25_remove_socket(s);
+ ax25_clear_queues(s);
}
}
}