2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/include/linux/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
..
bind.h [PATCH] knfsd: be more selective in which sockets lockd listens on 2006-10-02 07:57:17 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.h [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
nlm.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
share.h [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
sm_inter.h [PATCH] knfsd: lockd: optionally use hostnames for identifying peers 2006-10-04 07:55:17 -07:00
xdr4.h fix file specification in comments 2006-10-03 23:01:26 +02:00
xdr.h lockd: Don't expose the process pid to the NLM server 2006-03-20 13:44:06 -05:00