rxrpc: Handle temporary errors better in rxkad security
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:59 +0000 (10:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:59 +0000 (10:11 +0100)
commitef68622da9cc0c4e5202f90093a3a5314e41e9e9
treee1fe504e4a3a217a248689dd28e12f1926b21ad0
parent84a4c09c38903a92ba670375efea5165949a465b
rxrpc: Handle temporary errors better in rxkad security

In the rxkad security module, when we encounter a temporary error (such as
ENOMEM) from which we could conceivably recover, don't abort the
connection, but rather permit retransmission of the relevant packets to
induce a retry.

Note that I'm leaving some places that could be merged together to insert
tracing in the next patch.

Signed-off-by; David Howells <dhowells@redhat.com>
net/rxrpc/rxkad.c