diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-01-26 14:04:22 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-01-27 17:01:08 -0500 |
commit | 37498292aa97658a5d0a9bb84699ce8c1016bb74 (patch) | |
tree | d428a82fd275b739a7d631a2707314d76b82e84c /ipc/mq_sysctl.c | |
parent | 68717908155a9dcd4161f4d730fea478712d9794 (diff) | |
download | op-kernel-dev-37498292aa97658a5d0a9bb84699ce8c1016bb74.zip op-kernel-dev-37498292aa97658a5d0a9bb84699ce8c1016bb74.tar.gz |
NFSD: Create PF_INET6 listener in write_ports
Try to create a PF_INET6 listener for NFSD, if IPv6 is enabled in the
kernel.
Make sure nfsd_serv's reference count is decreased if
__write_ports_addxprt() failed to create a listener. See
__write_ports_addfd().
Our current plan is to rely on rpc.nfsd to create appropriate IPv6
listeners when server-side NFS/IPv6 support is desired. Legacy
behavior, via the write_threads or write_svc kernel APIs, will remain
the same -- only IPv4 listeners are created.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
[bfields@citi.umich.edu: Move error-handling code to end]
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions