commit | f0ec1aaf54caddd21c259aea8b2ecfbde4ee4fb9 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Sun Oct 29 22:46:43 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Oct 30 12:08:41 2006 -0800 |
tree | 61202a09a030d659064df65e127b9be1c571c48c | |
parent | d45e44d4be60ef508579001792f33753b5cb6d36 [diff] |
[PATCH] xacct_add_tsk: fix pure theoretical ->mm use-after-free Paranoid fix. The task can free its ->mm after the 'if (p->mm)' check. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Jay Lan <jlan@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>