X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fnfsd%2Fnfs4proc.c;h=0beb023f25ace63a8b4ec270eb69bdbaa3e19cbe;hb=51904b08072a8bf2b9ed74d1bd7a5300a614471d;hp=f4bd578bed551451d15852e36e254d2e585cba11;hpb=d1d84c9626bb3a519863b3ffc40d347166f9fb83;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index f4bd578bed55..0beb023f25ac 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -1272,7 +1272,8 @@ static bool need_wrongsec_check(struct svc_rqst *rqstp) */ if (argp->opcnt == resp->opcnt) return false; - + if (next->opnum == OP_ILLEGAL) + return false; nextd = OPDESC(next); /* * Rest of 2.6.3.1.1: certain operations will return WRONGSEC