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

This commit is contained in:
Doug Rabson 2008-09-04 14:54:22 +00:00
parent 19de3e9011
commit 5f7399dc43

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