OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-95-g43ef1f2
Gerrit Code Review
gerrit@openafs.org
Thu, 14 Jan 2021 15:05:29 -0500
The following commit has been merged in the master branch:
commit 43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Thu Jan 14 10:20:59 2021 -0800
Remove overflow check from update_nextCid
The rx_nextCid global has been an unsigned type since
http://gerrit.openafs.org/11106 (which was actually merged before
the refactoring of overflow check to avoid signed integer overflow)
and thus there is no need to avoid signed overflow. The per-connection
cid has been unsigned since the IBM import.
The natural unsigned behavior on overflow of wrapping is the desired
behvaior here, so just remove the extra logic and always increment.
Change-Id: I2d9fd24082b762eb871199da3ac1cc0983764585
Reviewed-on: https://gerrit.openafs.org/14496
Reviewed-by: Jeffrey Hutzelman <jhutz@cmu.edu>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/rx/rx.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository