diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2005-02-21 14:21:50 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2005-02-21 14:21:50 +0000 |
commit | c364c823d00b0f4910a80db7937d11b7313aece7 (patch) | |
tree | 51c7c289ee9a7a5989a0c908201936abb5d38de7 | |
parent | 1d2a8153d3c46aee9288eec53012640d5ed40aac (diff) |
Notes
-rw-r--r-- | sys/kern/uipc_usrreq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index dec6967937cb..ba7e13b5d1a8 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -833,8 +833,10 @@ restart: } NDFREE(&nd, NDF_ONLY_PNBUF); vput(nd.ni_dvp); - if (error) + if (error) { + vn_finished_write(mp); goto done; + } vp = nd.ni_vp; ASSERT_VOP_LOCKED(vp, "unp_bind"); soun = (struct sockaddr_un *)sodupsockaddr(nam, M_WAITOK); |