[PATCH] knfsd: svcrpc: gss: fix failure on SVC_DENIED in integrity case
authorJ.Bruce Fields <bfields@fieldses.org>
Wed, 4 Oct 2006 09:16:07 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:19 +0000 (07:55 -0700)
commit5b304bc5bfccc82b856e876e829c260df8e67ff2
tree1ef7b419ff3d0a43ea745b375a8aa8209b59d28e
parent3c15a486643a103eaf068e5fb3b7f9d720d579a7
[PATCH] knfsd: svcrpc: gss: fix failure on SVC_DENIED in integrity case

If the request is denied after gss_accept was called, we shouldn't try to wrap
the reply.  We were checking the accept_stat but not the reply_stat.

To check the reply_stat in _release, we need a pointer to before (rather than
after) the verifier, so modify body_start appropriately.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/auth_gss/svcauth_gss.c