NFS4: fix cb_recallany decode error
authorPeng Tao <bergwolf@gmail.com>
Mon, 24 Oct 2011 03:22:38 +0000 (20:22 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 31 Oct 2011 15:51:28 +0000 (11:51 -0400)
commitd743c3c9c236cc61403a4f7d6283d59ddf68b2bd
tree9eb73b3ba65167f61f8b455c8d54ff68a1905b2e
parent92407e75ce45b41c46944891711fd8faf0714d84
NFS4: fix cb_recallany decode error

craa_type_mask is bitmap4 per RFC5661. We need to expect a length before
extracting bitmap value.

Cc: Alexandros Batsakis <batsakis@netapp.com>
Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_xdr.c