android: binder: fixup crash introduced by moving buffer hdr
Fix crash introduced by 74310e06 (android: binder: Move buffer out of area shared with user space) when close is called after open without mmap in between. Reported-by: Nkernel test robot <fengguang.wu@intel.com> Fixes: 74310e06 ("android: binder: Move buffer out of area shared with user space") Signed-off-by: NSherry Yang <sherryy@android.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录