patch-2.1.16 linux/net/rose/rose_out.c

Next file: linux/net/rose/rose_timer.c
Previous file: linux/net/rose/rose_link.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/net/rose/rose_out.c linux/net/rose/rose_out.c
@@ -114,7 +114,7 @@
 	del_timer(&sk->timer);
 
 	start = (skb_peek(&sk->protinfo.rose->ack_queue) == NULL) ? sk->protinfo.rose->va : sk->protinfo.rose->vs;
-	end   = (sk->protinfo.rose->va + sk->window) % ROSE_MODULUS;
+	end   = (sk->protinfo.rose->va + ROSE_DEFAULT_WINDOW) % ROSE_MODULUS;
 
 	if (!(sk->protinfo.rose->condition & PEER_RX_BUSY_CONDITION) &&
 	    start != end                                  &&

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov