patch-2.3.13 linux/kernel/module.c

Next file: linux/kernel/panic.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/kernel/module.c linux/kernel/module.c
@@ -76,10 +76,6 @@
 	unsigned long page;
 	long retval;
 
-	if ((unsigned long)user_name >= TASK_SIZE
-	    && !segment_eq(get_fs (), KERNEL_DS))
-		return -EFAULT;
-
 	page = __get_free_page(GFP_KERNEL);
 	if (!page)
 		return -ENOMEM;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)