Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'nfsd-4.11-2' of git://linux-nfs.org/~bfields/linux

Pull nfsd bugfix from Bruce Fields:
"Fix a 4.11 regression that triggers a BUG() on an attempt to use an
unsupported NFSv4 compound op"

* tag 'nfsd-4.11-2' of git://linux-nfs.org/~bfields/linux:
nfsd: fix oops on unsupported operation

+1 -1
+1 -1
fs/nfsd/nfs4proc.c
··· 2489 2489 2490 2490 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) 2491 2491 { 2492 - if (op->opnum == OP_ILLEGAL) 2492 + if (op->opnum == OP_ILLEGAL || op->status == nfserr_notsupp) 2493 2493 return op_encode_hdr_size * sizeof(__be32); 2494 2494 2495 2495 BUG_ON(OPDESC(op)->op_rsize_bop == NULL);