]> 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)
commit4dd02f5312e8af230414270a176430a9a8421cde
tree068e6974c36acd2376c2a64315581b72587ffd37
parentda06094b989419cd306525383d4f142c15fd76e1
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: 5c7c3502b731 ("rxrpc: Fix call timeouts")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c