]> 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)
commitfc35ed8b9a6a79eedde76b589c2342e6165e0ffe
treee1fe504e4a3a217a248689dd28e12f1926b21ad0
parentc5358abd017601c9f33419dd61e7669538d942ee
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