opt_inet6.h was missing from some files in the new NFS subsystem.
The effect of this was, for clients mounted via inet6 addresses, that the DRC cache would never have a hit in the server. It also broke NFSv4 callbacks when an inet6 address was the only one available in the client. This patch fixes the above, plus deletes opt_inet6.h from a couple of files it is not needed for. MFC after: 2 weeks
This commit is contained in:
parent
3da972f77c
commit
f725864490
@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
* Socket operations for use by nfs
|
* Socket operations for use by nfs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_inet6.h"
|
|
||||||
#include "opt_kdtrace.h"
|
#include "opt_kdtrace.h"
|
||||||
#include "opt_kgssapi.h"
|
#include "opt_kgssapi.h"
|
||||||
#include "opt_nfs.h"
|
#include "opt_nfs.h"
|
||||||
|
@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
* copy data between mbuf chains and uio lists.
|
* copy data between mbuf chains and uio lists.
|
||||||
*/
|
*/
|
||||||
#ifndef APPLEKEXT
|
#ifndef APPLEKEXT
|
||||||
|
#include "opt_inet6.h"
|
||||||
|
|
||||||
#include <fs/nfs/nfsport.h>
|
#include <fs/nfs/nfsport.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include "opt_inet6.h"
|
|
||||||
#include "opt_kgssapi.h"
|
#include "opt_kgssapi.h"
|
||||||
|
|
||||||
#include <fs/nfs/nfsport.h>
|
#include <fs/nfs/nfsport.h>
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_inet6.h"
|
||||||
#include "opt_kdtrace.h"
|
#include "opt_kdtrace.h"
|
||||||
|
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
|
@ -43,6 +43,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef APPLEKEXT
|
#ifndef APPLEKEXT
|
||||||
|
#include "opt_inet6.h"
|
||||||
|
|
||||||
#include <fs/nfs/nfsport.h>
|
#include <fs/nfs/nfsport.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user