--- ax25_ddi.c.orig	Wed Oct 31 20:17:48 2001
+++ ax25_ddi.c	Wed Oct 31 23:44:15 2001
@@ -670,11 +670,12 @@
 
 static void ax25_dev_tic(unsigned long param)
 {
-	ax25_cb *active;
+	ax25_cb *active,*next;
 	struct ax25_dev *this = (struct ax25_dev *) param;
 
 	if (!this->needs_transmit && ((!this->hw.ptt) || (!this->hw.ptt(this->netdev)))) {
-		for (active = this->list.all; active; active = active->next) {
+		for (active = this->list.all; active; active = next) {
+			next = active->next;
 			/* 
 			 * only run the timer on idle connections.  
 			 */

