diff options
author | trociny <trociny@FreeBSD.org> | 2012-02-29 21:38:31 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2012-02-29 21:38:31 +0000 |
commit | 1aad0004eef0a2c8cc3f79dd3a6f03dd46dd047a (patch) | |
tree | 68c4dc3240253dab5bf3767c81e64d876b2ec226 /UPDATING | |
parent | 7f479f0242bfa3392b0ad6d21188de6300c5576f (diff) | |
download | FreeBSD-src-1aad0004eef0a2c8cc3f79dd3a6f03dd46dd047a.zip FreeBSD-src-1aad0004eef0a2c8cc3f79dd3a6f03dd46dd047a.tar.gz |
Introduce VOP_UNP_BIND(), VOP_UNP_CONNECT(), and VOP_UNP_DETACH()
operations for setting and accessing vnode's v_socket field.
The operations are necessary to implement proper unix socket handling
on layered file systems like nullfs(5).
This change fixes the long standing issue with nullfs(5) being in that
unix sockets did not work between lower and upper layers: if we bound
to a socket on the lower layer we could connect only to the lower
path; if we bound to the upper layer we could connect only to the
upper path. The new behavior is one can connect to both the lower and
the upper paths regardless what layer path one binds to.
PR: kern/51583, kern/159663
Suggested by: kib
Reviewed by: arch
MFC after: 2 weeks
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -22,6 +22,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10.x IS SLOW: machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20120229: + Now unix domain sockets behave "as expected" on nullfs(5). Previously + nullfs(5) did not pass through all behaviours to the underlying layer, + as a result if we bound to a socket on the lower layer we could connect + only to the lower path; if we bound to the upper layer we could connect + only to the upper path. The new behavior is one can connect to both the + lower and the upper paths regardless what layer path one binds to. + 20120211: The getifaddrs upgrade path broken with 20111215 has been restored. If you have upgraded in between 20111215 and 20120209 you need to |