Fix an off-by-one error in the replay detection logic.
This commit is contained in:
parent
19de3e9011
commit
5f7399dc43
@ -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