From 1a7416c9dd48f4af524dd469a388323e0fe1faf2 Mon Sep 17 00:00:00 2001 From: dfr Date: Mon, 25 Aug 2008 09:30:27 +0000 Subject: Add a missing return statement in nlm4_unlock_msg_4_svc which prevented it from returning a reply message in most cases. This in turn caused interoperability problems with Mac OS X clients. PR: 126561 Submitted by: Richard.Conto at gmail.com MFC after: 1 week --- sys/nlm/nlm_prot_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/nlm/nlm_prot_server.c b/sys/nlm/nlm_prot_server.c index fd6b449..6ff86ce 100644 --- a/sys/nlm/nlm_prot_server.c +++ b/sys/nlm/nlm_prot_server.c @@ -611,6 +611,7 @@ nlm4_unlock_msg_4_svc(nlm4_unlockargs *argp, void *result, struct svc_req *rqstp char dummy; if (nlm_do_unlock(argp, &res4, rqstp, &rpc)) + return (FALSE); if (rpc) { nlm4_unlock_res_4(&res4, &dummy, rpc, NULL, nlm_zero_tv); CLNT_RELEASE(rpc); -- cgit v1.1