]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For UNIX sockets make vnode point not to the socket, but to the UNIX PCB,
authorGleb Smirnoff <glebius@FreeBSD.org>
Fri, 2 Jun 2017 17:31:25 +0000 (17:31 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Fri, 2 Jun 2017 17:31:25 +0000 (17:31 +0000)
commit0c3c207ffd5da278bb3b2e00528ba926042bcd6e
tree50d7ac760becfc704750415e5a5849c7bdcd37f8
parent67e984c8f2148c6150ec0f86829aca9b8ac5c2ff
For UNIX sockets make vnode point not to the socket, but to the UNIX PCB,
since the latter is the thing that links together VFS and sockets.

While here, make the union in the struct vnode anonymous.
sys/kern/uipc_usrreq.c
sys/kern/vfs_default.c
sys/kern/vfs_subr.c
sys/kern/vnode_if.src
sys/sys/vnode.h