kernel_optimize_test/fs/lockd
Olaf Kirch 39be4502cb [PATCH] knfsd: match GRANTED_RES replies using cookies
When we send a GRANTED_MSG call, we current copy the NLM cookie provided in
the original LOCK call - because in 1996, some broken clients seemed to rely
on this bug.  However, this means the cookies are not unique, so that when the
client's GRANTED_RES message comes back, we cannot simply match it based on
the cookie, but have to use the client's IP address in addition.  Which breaks
when you have a multi-homed NFS client.

The X/Open spec explicitly mentions that clients should not expect the same
cookie; so one may hope that any clients that were broken in 1996 have either
been fixed or rendered obsolete.

Signed-off-by: Olaf Kirch <okir@suse.de>
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-04 07:55:18 -07:00
..
clntlock.c [PATCH] knfsd: lockd: Make nlm_host_rebooted use the nsm_handle 2006-10-04 07:55:17 -07:00
clntproc.c [PATCH] knfsd: make nlmclnt_next_cookie SMP safe 2006-10-04 07:55:17 -07:00
host.c [PATCH] knfsd: lockd: optionally use hostnames for identifying peers 2006-10-04 07:55:17 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mon.c [PATCH] knfsd: lockd: optionally use hostnames for identifying peers 2006-10-04 07:55:17 -07:00
svc.c [PATCH] knfsd: lockd: optionally use hostnames for identifying peers 2006-10-04 07:55:17 -07:00
svc4proc.c [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
svclock.c [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
svcproc.c [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
svcshare.c [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
svcsubs.c [PATCH] knfsd: simplify nlmsvc_invalidate_all 2006-10-04 07:55:17 -07:00
xdr.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00
xdr4.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00