summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorGustavo A. R. Silva2017-11-28 18:28:52 +0100
committerDavid Howells2017-11-29 15:44:22 +0100
commit282ef4729195c8503f7101d574acfb5e7c8a8209 (patch)
tree3fb0133ea601ed5a3f97f1fbaec0f5f72a70c1ff /block
parentrxrpc: Fix ACK generation from the connection event processor (diff)
downloadkernel-qcow2-linux-282ef4729195c8503f7101d574acfb5e7c8a8209.tar.gz
kernel-qcow2-linux-282ef4729195c8503f7101d574acfb5e7c8a8209.tar.xz
kernel-qcow2-linux-282ef4729195c8503f7101d574acfb5e7c8a8209.zip
rxrpc: Fix variable overwrite
Values assigned to both variable resend_at and ack_at are overwritten before they can be used. The correct fix here is to add 'now' to the previously computed value in resend_at and ack_at. Addresses-Coverity-ID: 1462262 Addresses-Coverity-ID: 1462263 Addresses-Coverity-ID: 1462264 Fixes: beb8e5e4f38c ("rxrpc: Express protocol timeouts in terms of RTT") Link: https://marc.info/?i=17004.1511808959%40warthog.procyon.org.uk Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions