aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorEkansh Gupta <[email protected]>2023-10-13 12:20:07 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-16 18:58:50 +0000
commit509143385db364c67556a914bef6c9a42fd2c74c (patch)
tree14ec1b198dc9029a1574e582bbab718466db951c /net/unix/unix_bpf.c
parentmisc: fastrpc: Clean buffers on remote invocation failures (diff)
downloadkernel-509143385db364c67556a914bef6c9a42fd2c74c.tar.gz
kernel-509143385db364c67556a914bef6c9a42fd2c74c.zip
misc: fastrpc: Unmap only if buffer is unmapped from DSP
For unmapping any buffer from kernel, it should first be unmapped from DSP. In case unmap from DSP request fails, the map should not be removed from kernel as it might lead to SMMU faults and other memory issues. Fixes: 5c1b97c7d7b7 ("misc: fastrpc: add support for FASTRPC_IOCTL_MEM_MAP/UNMAP") Cc: stable <[email protected]> Signed-off-by: Ekansh Gupta <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions