OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-393-g95ae30c
Gerrit Code Review
Fri, 5 Jul 2019 16:07:02 -0400
The following commit has been merged in the master branch:
Author: Mark Vitale <email@example.com>
Date: Wed May 22 23:03:11 2019 -0400
auth: eliminate pointless retries in ktc_ListTokensEx
ktc_ListTokensEx is an iterator to provide the names of each cell for
which a user has a token set. It does this by looking for the 1 through
nth token set for a given user. However, as currently implemented,
it always continues searching up to the 100x safety limit even when
there are no more token sets for the user.
Instead, return immediately when VIOC_GETTOK2 returns EDOM (no more
tokens for this user).
Introduced by commit a86ad262d2a8be36f43ab0885a84dde37ddfc464 'auth: Add
the ktc_ListTokensEx function'.
Reviewed-by: Andrew Deason <firstname.lastname@example.org>
Tested-by: BuildBot <email@example.com>
Reviewed-by: Benjamin Kaduk <firstname.lastname@example.org>
src/auth/ktc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
OpenAFS Master Repository