diff options
author | dfr <dfr@FreeBSD.org> | 2008-08-25 09:30:27 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-08-25 09:30:27 +0000 |
commit | 1a7416c9dd48f4af524dd469a388323e0fe1faf2 (patch) | |
tree | 5f5c7c78694a2038908f203083cf7eee63e5f9c0 /sys | |
parent | 9ddf84d97ec2ab88e01c7a0150c2a65f9af7675f (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/nlm/nlm_prot_server.c | 1 |
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); |