From: | ghudson@mit.edu |
Subject: | git commit |
Reinitialize ulog when wrapping serial number
When we wrap the serial number, reinitialize the ulog so that kdb_num
starts counting from 1, instead of leaving the ulog in a weird state
where kdb_num == ulogentries but kdb_last_sno == 1 and the serial
numbers in the circular array aren't necessarily contiguous.
https://github.com/krb5/krb5/commit/3c147860df11d8ef24dabf07d32f36915f3b640c
Author: Greg Hudson <ghudson@mit.edu>
Commit: 3c147860df11d8ef24dabf07d32f36915f3b640c
Branch: master
src/lib/kdb/kdb_log.c | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)