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

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)