git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NFSD: Note an additional requirement when passing TCP sockets to portlist
[safe/jmp/linux-2.6]
/
fs
/
nfsd
/
nfsctl.c
diff --git
a/fs/nfsd/nfsctl.c
b/fs/nfsd/nfsctl.c
index
b6a847f
..
d491fa9
100644
(file)
--- a/
fs/nfsd/nfsctl.c
+++ b/
fs/nfsd/nfsctl.c
@@
-1061,7
+1061,9
@@
static ssize_t __write_ports(struct file *file, char *buf, size_t size)
* buf: C string containing an unsigned
* integer value representing a bound
* but unconnected socket that is to be
* buf: C string containing an unsigned
* integer value representing a bound
* but unconnected socket that is to be
- * used as an NFSD listener
+ * used as an NFSD listener; listen(3)
+ * must be called for a SOCK_STREAM
+ * socket, otherwise it is ignored
* size: non-zero length of C string in @buf
* Output:
* On success: NFS service is started;
* size: non-zero length of C string in @buf
* Output:
* On success: NFS service is started;