patch-2.3.25 linux/net/packet/af_packet.c
Next file: linux/net/rose/af_rose.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Fri Oct 29 10:59:17 1999
-  Orig file: 
v2.3.24/linux/net/packet/af_packet.c
-  Orig date: 
Tue Aug 31 17:29:15 1999
diff -u --recursive --new-file v2.3.24/linux/net/packet/af_packet.c linux/net/packet/af_packet.c
@@ -1698,7 +1698,7 @@
 	int err = -EINVAL;
 	int i;
 
-	if (vma->vm_offset)
+	if (vma->vm_pgoff)
 		return -EINVAL;
 
 	size = vma->vm_end - vma->vm_start;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)