Branch: refs/heads/master Home: https://github.com/fabbione/kronosnet Commit: c49af4e3aa2382557479d140c2107b2d6a9601bb https://github.com/fabbione/kronosnet/commit/c49af4e3aa2382557479d140c2107b2... Author: Christine Caulfield ccaulfie@redhat.com Date: 2017-05-26 (Fri, 26 May 2017)
Changed paths: M libknet/transport_sctp.c
Log Message: ----------- [sctp] Don't hold global_rwlock while sleeping.
The SCTP connect and accept threads can do small sleeps when there are errors. The global_rwlock should not be held while this is happening.
While the lock is a read lock and doesn't block sending and receiving in other threads it can cause a deadlock on shutdown.
Signed-off-by: Christine Caulfield ccaulfie@redhat.com