Commit 9c19b331 authored by Nikhil Jha's avatar Nikhil Jha Committed by Anna Schumaker
Browse files

sunrpc: fix loop in gss seqno cache



There was a silly bug in the initial implementation where a loop
variable was not incremented. This commit increments the loop variable.

This bug is somewhat tricky to catch because it can only happen on loops
of two or more. If it is hit, it locks up a kernel thread in an infinite
loop.

Signed-off-by: default avatarNikhil Jha <njha@janestreet.com>
Tested-by: default avatarNikhil Jha <njha@janestreet.com>
Fixes: 08d6ee6d ("sunrpc: implement rfc2203 rpcsec_gss seqnum cache")
Reviewed-by: default avatarBenjamin Coddington <bcodding@redhat.com>
Signed-off-by: default avatarAnna Schumaker <anna.schumaker@oracle.com>
parent 86731a2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment