[Patch] kernel/exit.c: Fix use-before-check in exit_mm()

2007-11-15 Thread WANG Cong
On Fri, Nov 16, 2007 at 01:34:54AM +0100, Jesper Juhl wrote: >On 13/11/2007, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: >> Jesper Juhl wrote: >> > In kernel/exit.c we have this code : >> > >> > static void exit_mm(struct task_struct * tsk) >> > { >> > struct mm_struct *mm = tsk->mm; >>

[Patch] kernel/exit.c: Fix use-before-check in exit_mm()

2007-11-15 Thread WANG Cong
On Fri, Nov 16, 2007 at 01:34:54AM +0100, Jesper Juhl wrote: On 13/11/2007, Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Jesper Juhl wrote: In kernel/exit.c we have this code : static void exit_mm(struct task_struct * tsk) { struct mm_struct *mm = tsk-mm;