aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-19 12:36:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 10:16:38 -0700
commit01b140abad66f022ff6dff7cc1307b07281035fa (patch)
tree0bcc23968e52a00d9cbdc8e729946938f644a7c1 /include/target
parentc938c22b48302eeb9a6f3cc83f223f37d98ba6f7 (diff)
downloadkernel_samsung_smdk4412-01b140abad66f022ff6dff7cc1307b07281035fa.zip
kernel_samsung_smdk4412-01b140abad66f022ff6dff7cc1307b07281035fa.tar.gz
kernel_samsung_smdk4412-01b140abad66f022ff6dff7cc1307b07281035fa.tar.bz2
NFSv4: Fix an Oops in the NFSv4 getacl code
commit 331818f1c468a24e581aedcbe52af799366a9dfe upstream. Commit bf118a342f10dafe44b14451a1392c3254629a1f (NFSv4: include bitmap in nfsv4 get acl data) introduces the 'acl_scratch' page for the case where we may need to decode multi-page data. However it fails to take into account the fact that the variable may be NULL (for the case where we're not doing multi-page decode), and it also attaches it to the encoding xdr_stream rather than the decoding one. The immediate result is an Oops in nfs4_xdr_enc_getacl due to the call to page_address() with a NULL page pointer. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Andy Adamson <andros@netapp.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions