patch-1.3.85 linux/drivers/net/strip.c
Next file: linux/drivers/net/tulip.c
Previous file: linux/drivers/net/plip.c
Back to the patch index
Back to the overall index
-  Lines: 11
 -  Date:
Sun Apr  7 09:42:34 1996
 -  Orig file: 
v1.3.84/linux/drivers/net/strip.c
 -  Orig date: 
Tue Apr  2 13:32:21 1996
 
diff -u --recursive --new-file v1.3.84/linux/drivers/net/strip.c linux/drivers/net/strip.c
@@ -256,8 +256,8 @@
 		/*
 		 *	Recover state from last call, if applicable 
 		 */
-		code  = *code_ptr & Stuff_CodeMask;
-		count = *code_ptr & Stuff_CountMask;
+		code  = (*code_ptr ^ Stuff_Magic) & Stuff_CodeMask;
+		count = (*code_ptr ^ Stuff_Magic) & Stuff_CountMask;
 	}
 
 	while (src < end) 
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