Davide Libenzi 53d2be79d5 [PATCH] epoll: fix delayed initialization bug
Al found a potential problem in epoll_create(), where the
file->private_data member was set after fd_install().  This is obviously
wrong since another thread might do a close() on that fd# before we set the
file->private_data member.  This goes over 2.6.13 and passes a few basic
tests I've done here.

(akpm: snuck in a kzalloc() cleanup too)

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-17 11:50:02 -07:00
..
2005-09-07 16:57:50 -07:00
2005-08-06 09:42:06 -07:00
2005-09-09 13:57:55 -07:00
2005-09-07 16:57:18 -07:00
2005-09-09 13:57:55 -07:00
2005-09-09 10:31:58 -07:00
2005-09-10 10:06:21 -07:00
2005-09-14 21:40:00 -07:00
2005-09-09 13:57:55 -07:00
2005-09-09 13:57:55 -07:00
2005-09-10 10:06:22 -07:00
2005-09-07 16:57:32 -07:00
2005-09-09 13:57:55 -07:00