rxrpc: Fix hard call timeout units
authorDavid Howells <dhowells@redhat.com>
Fri, 28 Apr 2023 20:27:54 +0000 (21:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2023 06:43:19 +0000 (07:43 +0100)
commit0d098d83c5d9e107b2df7f5e11f81492f56d2fe7
tree3f42c098f198c844795247025d979e55a35082cf
parent4f163bf82b0244bf4d1e9a6b0f4cf4e90b42496e
rxrpc: Fix hard call timeout units

The hard call timeout is specified in the RXRPC_SET_CALL_TIMEOUT cmsg in
seconds, so fix the point at which sendmsg() applies it to the call to
convert to jiffies from seconds, not milliseconds.

Fixes: a158bdd3247b ("rxrpc: Fix timeout of a call that hasn't yet been granted a channel")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/sendmsg.c