diff options
author | Marc Dionne <marc.dionne@auristor.com> | 2019-04-12 16:34:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 16:57:23 -0700 |
commit | f7f1dd3162efc7ffdbcdb9da1ad1599f8ab51296 (patch) | |
tree | f17c43fc45eef23ab994a6063f2a1ae617e43a86 /crypto/asymmetric_keys/pkcs7_key_type.c | |
parent | 8e8715aaa905f6593f610f950d513e81fab5006a (diff) | |
download | linux-f7f1dd3162efc7ffdbcdb9da1ad1599f8ab51296.tar.gz linux-f7f1dd3162efc7ffdbcdb9da1ad1599f8ab51296.tar.bz2 linux-f7f1dd3162efc7ffdbcdb9da1ad1599f8ab51296.zip |
afs: Check for rxrpc call completion in wait loop
Check the state of the rxrpc call backing an afs call in each iteration of
the call wait loop in case the rxrpc call has already been terminated at
the rxrpc layer.
Interrupt the wait loop and mark the afs call as complete if the rxrpc
layer call is complete.
There were cases where rxrpc errors were not passed up to afs, which could
result in this loop waiting forever for an afs call to transition to
AFS_CALL_COMPLETE while the rx call was already complete.
Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/asymmetric_keys/pkcs7_key_type.c')
0 files changed, 0 insertions, 0 deletions