patch-1.3.75 linux/net/ax25/ax25_timer.c

Next file: linux/net/core/skbuff.c
Previous file: linux/net/ax25/ax25_subr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.74/linux/net/ax25/ax25_timer.c linux/net/ax25/ax25_timer.c
@@ -159,7 +159,8 @@
 					ax25->sk->state_change(ax25->sk);
 				ax25->sk->dead  = 1;
 			}
-			
+
+			ax25_reset_timer(ax25);
 			return;
 		}
 		
@@ -191,7 +192,6 @@
 
 		ax25->t3timer = 0;
 		ax25->t1timer = ax25->t1 = ax25_calculate_t1(ax25);
-		ax25->state   = AX25_STATE_2;
 
 		if (ax25->sk != NULL)
 		{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this