linux/Documentation
David Howells 7150ceaacb rxrpc: Fix life check
The life-checking function, which is used by kAFS to make sure that a call
is still live in the event of a pending signal, only samples the received
packet serial number counter; it doesn't actually provoke a change in the
counter, rather relying on the server to happen to give us a packet in the
time window.

Fix this by adding a function to force a ping to be transmitted.

kAFS then keeps track of whether there's been a stall, and if so, uses the
new function to ping the server, resetting the timeout to allow the reply
to come back.

If there's a stall, a ping and the call is *still* stalled in the same
place after another period, then the call will be aborted.

Fixes: bc5e3a546d55 ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals")
Fixes: f4d15fb6f99a ("rxrpc: Provide functions for allowing cleaner handling of signals")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-15 11:35:40 -08:00
..
2018-11-08 17:49:04 -06:00
2018-10-26 16:26:32 -07:00
2018-10-29 15:05:20 -07:00
2018-10-28 17:49:53 -07:00
2018-11-01 08:42:21 -07:00
2018-10-31 10:53:29 -07:00
2018-11-15 11:35:40 -08:00
2018-10-25 06:50:48 -07:00
2018-03-06 17:26:15 +01:00
2018-11-01 18:34:46 -07:00
2018-03-26 12:13:21 -04:00
2018-10-25 17:57:35 -07:00
2018-10-25 07:40:30 -07:00
2018-10-29 10:42:20 -07:00
2018-11-01 11:46:27 -07:00
2018-07-20 21:47:15 +02:00
2018-10-25 17:57:35 -07:00
2017-12-16 22:37:12 -08:00
2018-05-08 09:16:41 -06:00