]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: make sure svc_process call the correct pg_authenticate for multi-servi...
authorNeilBrown <neilb@cse.unsw.edu.au>
Mon, 7 Nov 2005 09:00:27 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:49 +0000 (07:53 -0800)
commit80d188a643b0f550a2aaedf7bf4dd1abd86cfc45
tree1439a87508fab8a39a64d8be8b20f4b6e2350159
parent0ba7536d5d47e4ecf2259a80b207158dc4e711eb
[PATCH] knfsd: make sure svc_process call the correct pg_authenticate for multi-service port

If an RPC socket is serving multiple programs, then the pg_authenticate of
the first program in the list is called, instead of pg_authenticate for the
program to be run.

This does not cause a problem with any programs in the current kernel, but
could confuse future code.

Also set pg_authenticate for nfsd_acl_program incase it ever gets used.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfssvc.c
net/sunrpc/svc.c