diff options
| author | Olga Kornievskaia <okorniev@redhat.com> | 2026-06-25 17:18:52 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-07-17 09:31:50 -0400 |
| commit | 5c4851e4cdfc3204128f88991be64a6e3929d3d0 (patch) | |
| tree | e0b876e5b1ef51b6c35e775abd6022f29c8e0c5d /tools/lib/python | |
| parent | 92ea163c773cb4d0d5eaf103ed80c49d6758b96f (diff) | |
lockd: fix NLMv3 GRANTED_MSG handling
GRANTED_MSG is a server-to-client callback, so it runs on the client,
where nfsd never registers nlmsvc_ops. The nlm3svc_lookup_host()
helper is for the server-side request handlers
(TEST/LOCK/CANCEL/UNLOCK), which reach nlmsvc_ops->fopen and must
reject requests when nfsd isn't running. GRANTED_MSG only calls
nlmclnt_grant(). Instead, of calling nlm3svc_lookup_host(), which
results in a client failing a GRANTED_MSG call, call
nlmsvc_lookup_host().
Fixes: 6c534ad999b6 ("lockd: Use xdrgen XDR functions for the NLMv3 GRANTED_MSG procedure")
Cc: stable@vger.kernel.org
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Reviewed-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20260625211852.31972-1-okorniev@redhat.com
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
