patch-2.1.22 linux/net/rose/rose_dev.c
Next file: linux/net/rose/rose_in.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Sun Jan 19 15:47:29 1997
-  Orig file: 
v2.1.21/linux/net/rose/rose_dev.c
-  Orig date: 
Thu Jan  2 15:55:29 1997
diff -u --recursive --new-file v2.1.21/linux/net/rose/rose_dev.c linux/net/rose/rose_dev.c
@@ -81,7 +81,7 @@
 {
 	unsigned char *buff = skb_push(skb, ROSE_MIN_LEN + 2);
 
-	*buff++ = GFI | Q_BIT;
+	*buff++ = ROSE_GFI | ROSE_Q_BIT;
 	*buff++ = 0x00;
 	*buff++ = ROSE_DATA;
 	*buff++ = 0x7F;
@@ -110,7 +110,7 @@
 		return 1;
 	}
 
-	if (skbn->sk != NULL)
+	if (skb->sk != NULL)
 		skb_set_owner_w(skbn, skb->sk);
 
 	kfree_skb(skb, FREE_WRITE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov