Fix an off-by-one error in the replay detection logic.
This commit is contained in:
parent
b5bc5d965b
commit
ae590ad889
@ -883,7 +883,7 @@ svc_rpc_gss_check_replay(struct svc_rpc_gss_client *client, uint32_t seq)
|
||||
u_int32_t offset;
|
||||
int word, bit;
|
||||
|
||||
if (seq < client->cl_seqlast) {
|
||||
if (seq <= client->cl_seqlast) {
|
||||
/*
|
||||
* The request sequence number is less than
|
||||
* the largest we have seen so far. If it is
|
||||
|
Loading…
Reference in New Issue
Block a user