patch-2.1.16 linux/net/netrom/nr_in.c
Next file: linux/net/netrom/nr_out.c
Previous file: linux/net/netrom/nr_dev.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Dec 14 13:40:12 1996
- Orig file:
v2.1.15/linux/net/netrom/nr_in.c
- Orig date:
Thu Dec 12 19:37:31 1996
diff -u --recursive --new-file v2.1.15/linux/net/netrom/nr_in.c linux/net/netrom/nr_in.c
@@ -109,7 +109,7 @@
sk->protinfo.nr->vl = 0;
sk->protinfo.nr->state = NR_STATE_3;
sk->protinfo.nr->n2count = 0;
- sk->window = skb->data[20];
+ sk->protinfo.nr->window = skb->data[20];
sk->state = TCP_ESTABLISHED;
/* For WAIT_SABM connections we will produce an accept ready socket here */
if (!sk->dead)
@@ -290,7 +290,7 @@
/*
* Window is full, ack it immediately.
*/
- if (((sk->protinfo.nr->vl + sk->window) % NR_MODULUS) == sk->protinfo.nr->vr) {
+ if (((sk->protinfo.nr->vl + sk->protinfo.nr->window) % NR_MODULUS) == sk->protinfo.nr->vr) {
nr_enquiry_response(sk);
} else {
if (!(sk->protinfo.nr->condition & ACK_PENDING_CONDITION)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov