summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2021-03-19 14:10:03 -0400
committerGitHub <noreply@github.com>2021-03-19 14:10:03 -0400
commit015c65ec987a6a1746eb0bbb1e96066312a60d43 (patch)
tree394e79f7443caa8bdc9472ac5087fd280f9cd25a
parenta1ce764f98e19204e95ee78d66746478d10ea59c (diff)
downloadillumos-joyent-015c65ec987a6a1746eb0bbb1e96066312a60d43.tar.gz
OS-8275 varpd_svp_getprop() is missing a mutex_exit()
Reviewed by: Jason King <jbk@joyent.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Mike Zeller <mike.zeller@joyent.com>
-rw-r--r--usr/src/lib/varpd/svp/common/libvarpd_svp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/varpd/svp/common/libvarpd_svp.c b/usr/src/lib/varpd/svp/common/libvarpd_svp.c
index 58828065a1..a4d3a9236e 100644
--- a/usr/src/lib/varpd/svp/common/libvarpd_svp.c
+++ b/usr/src/lib/varpd/svp/common/libvarpd_svp.c
@@ -749,6 +749,7 @@ varpd_svp_getprop(void *arg, const char *pname, void *buf, uint32_t *sizep)
bcopy(&svp->svp_uip, buf, sizeof (struct in6_addr));
*sizep = sizeof (struct in6_addr);
}
+ mutex_exit(&svp->svp_lock);
return (0);
}