commit | ea635c64e007061f6468ece5cc9cc62d41d4ecf2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed May 26 17:40:29 2010 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu May 27 22:03:08 2010 -0400 |
tree | eaa7123e7749893e8f542d12cba616664bc2c848 | |
parent | d7065da038227a4d09a244e6014e0186a6bd21d0 [diff] |
Fix racy use of anon_inode_getfd() in perf_event.c once anon_inode_getfd() is called, you can't expect *anything* about struct file that descriptor points to - another thread might be doing whatever it likes with descriptor table at that point. Cc: stable <stable@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>