summaryrefslogtreecommitdiffstats
path: root/sys/nlm
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-08-25 09:30:27 +0000
committerdfr <dfr@FreeBSD.org>2008-08-25 09:30:27 +0000
commit1a7416c9dd48f4af524dd469a388323e0fe1faf2 (patch)
tree5f5c7c78694a2038908f203083cf7eee63e5f9c0 /sys/nlm
parent9ddf84d97ec2ab88e01c7a0150c2a65f9af7675f (diff)
downloadFreeBSD-src-1a7416c9dd48f4af524dd469a388323e0fe1faf2.zip
FreeBSD-src-1a7416c9dd48f4af524dd469a388323e0fe1faf2.tar.gz
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
Diffstat (limited to 'sys/nlm')
-rw-r--r--sys/nlm/nlm_prot_server.c1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud