Commit 05b7278
nfsd: fix oops on unsupported operation
I'm hitting the BUG in nfsd4_max_reply() at fs/nfsd/nfs4proc.c:2495 when
client sends an operation the server doesn't support.
in nfsd4_max_reply() it checks for NULL rsize_bop but a non-supported
operation wouldn't have that set.
Cc: Kinglong Mee <[email protected]>
Fixes: 2282cd2 "NFSD: Get response size before operation..."
Signed-off-by: J. Bruce Fields <[email protected]>1 parent 23abec2 commit 05b7278
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2489 | 2489 | | |
2490 | 2490 | | |
2491 | 2491 | | |
2492 | | - | |
| 2492 | + | |
2493 | 2493 | | |
2494 | 2494 | | |
2495 | 2495 | | |
| |||
0 commit comments