0ccfd32 Close epoll fd within the lock

1 file Authored by simo 5 years ago, Committed by rharwood 5 years ago,
    Close epoll fd within the lock
    
    A race condition may happen where we close the epoll socket, after
    another thread grabbed the lock and is using epoll itself.
    On some kernels this may cause epoll to not fire any event leaving the
    thread stuck forever.
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    [rharwood@redhat.com: cleanup commit message, adjusted function ordering]
    Reviewed-by: Robbie Harwood <rharwood@redhat.com>
    Merges: #241
    
        
file modified
+56 -50