Hello Stefano, hello all, > 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 . Before I try, just a question: Someone else already suggested a similar patch, but had the problem of AX.25 callsigns not being cleared in the /proc/net filesystem upon disconnect. So it was not possible to connect the same station once again after a disconnect. You had to reboot the machine...unacceptable. What about your patch? Did you test the behaviour of your patch in that situation? > --- /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); > } > } > } > > Cheers, 73 Gerd