]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'rxrpc-timeout-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2023 06:43:19 +0000 (07:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2023 06:43:19 +0000 (07:43 +0100)
David Howells says:

====================
rxrpc: Timeout handling fixes

Here are three patches to fix timeouts handling in AF_RXRPC:

 (1) The hard call timeout should be interpreted in seconds, not
     milliseconds.

 (2) Allow a waiting call to be aborted (thereby cancelling the call) in
     the case a signal interrupts sendmsg() and leaves it hanging until it
     is granted a channel on a connection.

 (3) Kernel-generated calls get the timer started on them even if they're
     still waiting to be attached to a connection.  If the timer expires
     before the wait is complete and a conn is attached, an oops will
     occur.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge