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

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)