From: Andy Adamson <andros@xxxxxxxxxx> March 31 review by Bruce squash into nfsd41: check encode size for sessions maxresponse cached Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- fs/nfsd/nfs4xdr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 0084459..36469f5 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -3189,7 +3189,7 @@ static int nfsd4_check_drc_limit(struct nfsd4_compoundres *resp) if (!nfsd4_has_session(&resp->cstate)) return status; - session = slot->sl_session; + session = resp->cstate.session; if (session == NULL || slot->sl_cache_entry.ce_cachethis == 0) return status; -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html