1 2 3 4 5 6 7 8 9 10 11
--- linux-2.6.3/kernel/fork.c.zy64 2004-04-21 12:26:51.000000000 -0400 +++ linux-2.6.3/kernel/fork.c 2004-04-21 12:29:34.000000000 -0400 @@ -1073,6 +1073,8 @@ exit_namespace(p); bad_fork_cleanup_mm: exit_mm(p); + if (p->active_mm) + mmdrop(p->active_mm); bad_fork_cleanup_signal: exit_signal(p); bad_fork_cleanup_sighand: