summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index 8811514..f5204e5 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -223,6 +223,10 @@ create_link_1_svc(Create_LinkParms *argp, struct svc_req *rqstp) {
result.maxRecvSize = MAXRECV;
result.lid = linkid;
+ if (argp->lockDevice) {
+ lock(link->lid);
+ }
+
}
}
return &result;