diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-01 17:18:25 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-01 17:52:23 (GMT) |
commit | aaaa99423b4b1f9cfd33ea5643d9274c25f62491 (patch) | |
tree | dba6fb715156d9bc8fdf0ff57d9151e67fc1322c /net | |
parent | 16fb24252a8170799e7adf14d8fc31b817fcaf53 (diff) | |
download | linux-fsl-qoriq-aaaa99423b4b1f9cfd33ea5643d9274c25f62491.tar.xz |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions