]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rxrpc: Fix a bit of time confusion
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Mar 2018 20:04:43 +0000 (21:04 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 30 Mar 2018 20:04:43 +0000 (21:04 +0100)
commitf82eb88b0fa6943f58760fd7c3d1b12c1f9cf492
tree068e6974c36acd2376c2a64315581b72587ffd37
parentace45bec6d77bc061c3c3d8ad99e298ea9800c2b
rxrpc: Fix a bit of time confusion

The rxrpc_reduce_call_timer() function should be passed the 'current time'
in jiffies, not the current ktime time.  It's confusing in rxrpc_resend
because that has to deal with both.  Pass the correct current time in.

Note that this only affects the trace produced and not the functioning of
the code.

Fixes: a158bdd3247b ("rxrpc: Fix call timeouts")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c