]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f43018ee9b8a77d68f8718cb9eda167ee7c555e
treee1fe504e4a3a217a248689dd28e12f1926b21ad0
parentc262b17a96249f9c02f291641821dbfddbf8f8f4
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