]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix client call Rx-phase signal handling
authorDavid Howells <dhowells@redhat.com>
Thu, 12 Mar 2020 21:40:06 +0000 (21:40 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 13 Mar 2020 23:04:35 +0000 (23:04 +0000)
commitf446e77a915d22272cc423fb197aadc209b6315e
tree55437aafa9ea8a969e7271ce724e50aae0ddeae9
parentc500ab9c9ebe426c3b4459c07a7a87a02d7ec9da
afs: Fix client call Rx-phase signal handling

Fix the handling of signals in client rxrpc calls made by the afs
filesystem.  Ignore signals completely, leaving call abandonment or
connection loss to be detected by timeouts inside AF_RXRPC.

Allowing a filesystem call to be interrupted after the entire request has
been transmitted and an abort sent means that the server may or may not
have done the action - and we don't know.  It may even be worse than that
for older servers.

Fixes: 8d0c6fe295af ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c
include/net/af_rxrpc.h
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/input.c