patch-2.4.26 linux-2.4.26/kernel/fork.c
Next file: linux-2.4.26/lib/Makefile
Previous file: linux-2.4.26/include/net/tcp.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-04-14 06:05:40.000000000 -0700
-  Orig file: 
linux-2.4.25/kernel/fork.c
-  Orig date: 
2004-02-18 05:36:32.000000000 -0800
diff -urN linux-2.4.25/kernel/fork.c linux-2.4.26/kernel/fork.c
@@ -826,6 +826,8 @@
 	exit_namespace(p);
 bad_fork_cleanup_mm:
 	exit_mm(p);
+	if (p->active_mm)
+		mmdrop(p->active_mm);
 bad_fork_cleanup_sighand:
 	exit_sighand(p);
 bad_fork_cleanup_fs:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)