]> git.baikalelectronics.ru Git - kernel.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)
commit15707a44381dc9a00dd1b19c15716d346932f647
tree068e6974c36acd2376c2a64315581b72587ffd37
parenta5d3a0504782f3180dbee966db91d2cbecc17822
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: df9ebef74965 ("rxrpc: Fix call timeouts")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c