projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a0d551
)
NFSv4.1: fix backchannel slotid off-by-one bug
author
Andy Adamson
<andros@netapp.com>
Wed, 9 Nov 2011 18:58:20 +0000
(13:58 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 5 Jan 2012 15:42:40 +0000
(10:42 -0500)
Cc:stable@kernel.org
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/callback_proc.c
b/fs/nfs/callback_proc.c
index
43926ad
..
54cea8a
100644
(file)
--- a/
fs/nfs/callback_proc.c
+++ b/
fs/nfs/callback_proc.c
@@
-339,7
+339,7
@@
validate_seqid(struct nfs4_slot_table *tbl, struct cb_sequenceargs * args)
dprintk("%s enter. slotid %d seqid %d\n",
__func__, args->csa_slotid, args->csa_sequenceid);
- if (args->csa_slotid > NFS41_BC_MAX_CALLBACKS)
+ if (args->csa_slotid >
=
NFS41_BC_MAX_CALLBACKS)
return htonl(NFS4ERR_BADSLOT);
slot = tbl->slots + args->csa_slotid;