NeilBrown
24e36663c3
[PATCH] knfsd: be more selective in which sockets lockd listens on
...
Currently lockd listens on UDP always, and TCP if CONFIG_NFSD_TCP is set.
However as lockd performs services of the client as well, this is a problem.
If CONFIG_NfSD_TCP is not set, and a tcp mount is used, the server will not be
able to call back to lockd.
So:
- add an option to lockd_up saying which protocol is needed
- Always open sockets for which an explicit port was given, otherwise
only open a socket of the type required
- Change nfsd to do one lockd_up per socket rather than one per thread.
This
- removes the dependancy on CONFIG_NFSD_TCP
- means that lockd may open sockets other than at startup
- means that lockd will *not* listen on UDP if the only
mounts are TCP mount (and nfsd hasn't started).
The latter is the only one that concerns me at all - I don't know if this
might be a problem with some servers.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:17 -07:00
..
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:28 -07:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-09-27 08:26:18 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-09-29 09:18:20 -07:00
2006-10-01 00:39:30 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:10 -07:00
2006-05-21 12:59:16 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:28 -07:00
2006-09-29 09:18:20 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:30 -07:00
2006-09-27 08:26:18 -07:00
2006-10-01 00:39:30 -07:00
2006-09-29 09:18:15 -07:00
2006-09-29 09:18:03 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-02 07:57:17 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:23 -07:00
2006-10-02 07:57:17 -07:00
2006-10-02 07:57:17 -07:00
2006-10-02 07:57:14 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:30 -07:00
2006-09-24 11:13:19 -04:00
2006-10-01 00:39:19 -07:00
2006-10-02 07:57:15 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-09-27 08:26:10 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:28 -07:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:14 -07:00
2006-10-01 00:39:33 -07:00
2006-06-30 19:25:36 +02:00
2006-09-29 09:18:12 -07:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:52:34 +02:00
2006-10-01 00:39:28 -07:00
2006-09-30 20:31:19 +02:00
2006-09-30 20:52:18 +02:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:29 -07:00
2006-09-30 20:52:18 +02:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:06 -07:00
2006-10-02 07:57:14 -07:00
2006-09-29 09:18:14 -07:00
2006-09-27 08:26:18 -07:00
2006-10-01 00:39:33 -07:00
2006-10-02 07:57:15 -07:00
2006-10-02 07:57:14 -07:00
2006-09-29 09:18:25 -07:00
2006-09-29 09:18:20 -07:00
2006-09-30 20:52:26 +02:00
2006-09-29 09:18:24 -07:00
2006-10-02 07:57:14 -07:00
2006-07-31 13:28:41 -07:00
2006-06-20 05:25:19 -04:00
2006-09-30 20:52:32 +02:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:52:34 +02:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:30 -07:00
2006-10-02 07:57:14 -07:00
2006-10-01 00:39:19 -07:00
2006-09-29 09:18:07 -07:00
2006-09-30 20:52:26 +02:00
2006-10-01 00:39:30 -07:00
2006-09-30 20:52:18 +02:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:33 -07:00
2006-06-26 09:58:17 -07:00
2006-10-01 00:39:19 -07:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:28 -07:00
2006-09-29 09:18:23 -07:00
2006-09-30 20:52:34 +02:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:31 +02:00
2006-09-30 20:31:19 +02:00
2006-10-01 00:39:19 -07:00
2006-06-20 05:25:28 -04:00