Fix an off-by-one error in the replay detection logic.

This commit is contained in:
dfr 2008-09-04 14:54:22 +00:00
parent b5bc5d965b
commit ae590ad889

View File

@ -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