• Andrew Morton's avatar
    [PATCH] Handle init_new_context failures · 1cfc080a
    Andrew Morton authored
    From: Anton Blanchard <anton@samba.org>
    
    If init_new_context fails we definitely do not want to call mmput, because
    that will call destroy_context against an uninitialised context.  Instead
    we should back out what we did in init_mm.  Fixes some weird failures on
    ppc64 when running a fork bomb.
    1cfc080a
fork.c 29.4 KB