Skip to content
Snippets Groups Projects
Commit aaaa9942 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NLM: Ensure that nlmclnt_cancel_callback() doesn't loop forever


 If the server returns NLM_LCK_DENIED_NOLOCKS, we currently retry the
 entire NLM_CANCEL request. This may end up looping forever unless the
 server changes its mind (why would it do that, though?).

 Ensure that we limit the number of retries (to 3).

 See bug# 5957 in bugzilla.kernel.org.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 16fb2425
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment