]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:22:48 +0000 (19:22 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:22:48 +0000 (19:22 +0000)
commit6cadc70d98a9fc9a777d9550495ebc725fbe7325
tree71796cdfd1dd840565b83f1de516926a1854f9c3
parent2cb97e5ff3244949ab6bd0e655a285af71b0a4c3
STABLE14-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218

LICENSE IPL10

my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself.

I'm just checking in my implementation. In any case, the issue this addresses
is one where we can end up in makecall_waiting in rx on multiple connections
when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not
block on another caller while also holding what they're after

(cherry picked from commit 7421feda944d5fa05f5223528a69f23a7bb0b724)
src/viced/callback.c