OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_6-81-ga41fe24

Gerrit Code Review
Thu, 14 Jan 2021 15:49:34 -0500

The following commit has been merged in the openafs-stable-1_8_x branch:
commit a41fe24be574f35ca852fc3ea9750e370cdb71d0
Author: Jeffrey Altman <>
Date:   Thu Jan 14 09:41:39 2021 -0500

    rx: rx_InitHost do not overwrite RAND_bytes rx_nextCid
    39b165cdda941181845022c183fea1c7af7e4356 ("Move epoch and cid
    generation into the rx core") introduced the use of RAND_bytes()
    to generate the initial 'rx_nextCid' but failed to remove the
      rx_nextCid = ((tv.tv_sec ^ tv.tv_usec) << RX_CIDSHIFT;
    assignment inherited from IBM/Transarc.
    At Thu, 14 Jan 2021 08:25:36 GMT the IBM inherited calculation
    overflows the value CID range.   This triggers broken overflow
    logic in update_nextCid().
    Reviewed-by: Andrew Deason <>
    Tested-by: Andrew Deason <>
    Reviewed-by: Jeffrey Hutzelman <>
    Reviewed-by: Cheyenne Wills <>
    Tested-by: Mark Vitale <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit a3bc7ff1501d51ceb3b39d9caed62c530a804473)
    Change-Id: If5f7d4ba1cacc6978c83fd512653fbaa0c1559d8
    Reviewed-by: Cheyenne Wills <>
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Benjamin Kaduk <>
    Tested-by: Benjamin Kaduk <>
    Reviewed-by: Andrew Deason <>

 src/rx/rx.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

OpenAFS Master Repository