aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorEkansh Gupta <[email protected]>2023-10-13 12:20:06 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-16 18:58:50 +0000
commit1c8093591d1e372d700fe65423e7315a8ecf721b (patch)
treeccd9886b7ae2d87762e50d845e7ef0ec5438520f /net/unix/unix_bpf.c
parentmisc: fastrpc: Free DMA handles for RPC calls with no arguments (diff)
downloadkernel-1c8093591d1e372d700fe65423e7315a8ecf721b.tar.gz
kernel-1c8093591d1e372d700fe65423e7315a8ecf721b.zip
misc: fastrpc: Clean buffers on remote invocation failures
With current design, buffers and dma handles are not freed in case of remote invocation failures returned from DSP. This could result in buffer leakings and dma handle pointing to wrong memory in the fastrpc kernel. Adding changes to clean buffers and dma handles even when remote invocation to DSP returns failures. Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method") 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