Files
linux-stable-mirror/include/net
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: bc5e3a546d ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals")
Fixes: f4d15fb6f9 ("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-09-08 01:39:47 +09:00
2018-09-18 19:55:01 -07:00
2018-11-15 11:35:40 -08:00
2018-10-31 12:37:12 -07:00
2018-09-26 20:22:19 -07:00
2018-10-04 21:54:25 -07:00
2018-09-13 09:04:58 -07:00
2018-10-04 21:42:28 -07:00
2018-09-25 20:17:35 -07:00
2018-10-23 10:57:06 -07:00
2018-10-23 19:42:44 -07:00
2018-10-05 11:52:38 -07:00
2018-08-29 12:25:53 -07:00