lkml.org 
[lkml]   [2005]   [Sep]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] Fix epoll delayed initialization bug ...
FromRoland Dreier <>
DateFri, 16 Sep 2005 16:59:02 -0700
    Davide> Al found a potential problem in epoll_create(), where the
    Davide> file->private_data member was set after fd_install(). This is
    Davide> obviously wrong since another thread might do a close() on
    Davide> that fd# before we set the file->private_data member. This
    Davide> goes over 2.6.13 and passes a few basic tests I've done here.

Actually, I found the problem after Al pointed out a similar bug in my code ;)

 - R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-17 00:02    [from the cache]
©2003-2008