summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfssvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r--fs/nfsd/nfssvc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index fb3b32f8d..a2b2b4971 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -83,7 +83,10 @@ nfsd_svc(unsigned short port, int nrservs)
if (error < 0)
goto failure;
-#if 0 /* Don't even pretend that TCP works. It doesn't. */
+#if CONFIG_NFSD_TCP
+ /* This is developer-only at the moment,
+ * there are untracked bugs as of 2.4.0-test1-ac11
+ */
error = svc_makesock(nfsd_serv, IPPROTO_TCP, port);
if (error < 0)
goto failure;