From: J. Bruce Fields Date: Thu, 13 Oct 2005 20:54:53 +0000 (-0400) Subject: RPCSEC_GSS: cleanup au_rslack calculation X-Git-Tag: v2.6.15-rc1~733^2~54^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b2605becc10ca63c4c30808fa59a8abbf68727;p=pandora-kernel.git RPCSEC_GSS: cleanup au_rslack calculation Various xdr encode routines use au_rslack to guess where the reply argument will end up, so we can set up the xdr_buf to recieve data into the right place for zero copy. Currently we calculate the au_rslack estimate when we check the verifier. Normally this only depends on the verifier size. In the integrity case we add a few bytes to allow for a length and sequence number. It's a bit simpler to calculate only the verifier size when we check the verifier, and delay the full calculation till we unwrap. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed