Files
android_kernel_xiaomi_sm8450/fs/nfs
Trond Myklebust 331818f1c4 NFSv4: Fix an Oops in the NFSv4 getacl code
Commit bf118a342f (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>
Cc: stable@vger.kernel.org
2012-02-03 18:50:34 -05:00
..
2011-07-26 16:49:47 -07:00
2011-08-19 13:25:36 -04:00
2012-01-12 16:29:51 -05:00
2012-01-03 22:54:54 -05:00
2011-07-26 16:49:47 -07:00
2010-12-21 11:51:23 -05:00
2011-07-12 13:40:27 -04:00
2010-10-07 18:48:49 -04:00
2011-10-19 13:58:30 -07:00