dma(8): Fix race condition in multi-recipient delivery

Matthew Dillon dillon at
Thu Jul 9 19:31:49 PDT 2009

:Uh.  I ment to add a dup() there, but I moved a lot of code, so I 
:forgot...  What about the attached patch?
:   simon

    dup() doesn't solve the problem.  A dup()'d descriptor still
    points to a common file pointer and thus a common seek position.

    Only open() will generate a new file pointer backing the file


More information about the Submit mailing list