nfs-utils: disable IPv6 support in nfsd for now
Subsystems (2)
PATCH 1/1 nfs-utils: disable IPv6 support in nfsd for now
IPv6 support for nfsd was finished before some of the other daemons (mountd and statd in particular). That could be a problem in the future if someone were to boot a kernel that supports IPv6 serving with an older nfs-utils. For now, hardcode the IPv6 switch into the off position until the other daemons are functional.
Signed-off-by Jeff Layton <[email protected]>
--- utils/nfsd/nfsd.c | 9 +++++++++ utils/nfsd/nfssvc.c | 9 +++++++++ 2 files changed, 18 insertions(+), 0 deletions(-)
utils/nfsd/nfsd.c +9 -0
@@ -27,6 +27,15 @@#include "nfssvc.h" #include "xlog.h" +/* +* IPv6 support for nfsd was finished before some of the other daemons (mountd +* and statd in particular). That could be a problem in the future if someone +* were to boot a kernel that supports IPv6 serving with an older nfs-utils. For +* now, hardcode the IPv6 switch into the off position until the other daemons +* are functional. +*/ +#undef IPV6_SUPPORTED +static void usage (const char *); static struct option longopts[] =
utils/nfsd/nfssvc.c +9 -0
@@ -22,6 +22,15 @@#include "nfslib.h" #include "xlog.h" +/* +* IPv6 support for nfsd was finished before some of the other daemons (mountd +* and statd in particular). That could be a problem in the future if someone +* were to boot a kernel that supports IPv6 serving with an older nfs-utils. For +* now, hardcode the IPv6 switch into the off position until the other daemons +* are functional. +*/ +#undef IPV6_SUPPORTED +#define NFSD_PORTS_FILE "/proc/fs/nfsd/portlist"#define NFSD_VERS_FILE "/proc/fs/nfsd/versions"#define NFSD_THREAD_FILE "/proc/fs/nfsd/threads"
Signature · 1 line
1.6.2.5
Quoted 7 lines · Jeff Layton
IPv6 support for nfsd was finished before some of the other daemons (mountd and statd in particular). That could be a problem in the future if someone were to boot a kernel that supports IPv6 serving with an older nfs-utils. For now, hardcode the IPv6 switch into the off position until the other daemons are functional.
Signed-off-by Jeff Layton <[email protected]>
Committed...
steved.