aboutsummaryrefslogtreecommitdiff
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authorMikolaj Golub <trociny@FreeBSD.org>2012-02-25 10:15:41 +0000
committerMikolaj Golub <trociny@FreeBSD.org>2012-02-25 10:15:41 +0000
commit662c901c5429a3d06e28f5ce05df481159fb74c0 (patch)
tree8d321a0d4dfa05d863db2db15721bdb62ad66f41 /ObsoleteFiles.inc
parent0caafbf948d81773d22c1c4e1b4d60b437276ae0 (diff)
downloadsrc-662c901c5429a3d06e28f5ce05df481159fb74c0.tar.gz
src-662c901c5429a3d06e28f5ce05df481159fb74c0.zip
When detaching an unix domain socket, uipc_detach() checks
unp->unp_vnode pointer to detect if there is a vnode associated with (binded to) this socket and does necessary cleanup if there is. The issue is that after forced unmount this check may be too late as the unp_vnode is reclaimed and the reference is stale. To fix this provide a helper function that is called on a socket vnode reclamation to do necessary cleanup. Pointed by: kib Reviewed by: kib MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=232152
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions