Skip to contentSkip to conversation

nfs-utils: disable IPv6 support in nfsd for now

PATCH In review Jeff Layton 2 participants 2 messages Aug 25, 2009 – Sep 14, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 utils/nfsd/nfsd.c   |    9 +++++++++
 utils/nfsd/nfssvc.c |    9 +++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
utils/nfsd/nfsd.c +9 -0
index 650c593..1cda1e5 100644
@@ -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
index ee862b2..12d3253 100644
@@ -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
#1 lore raw
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.

Committed...

steved.