aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJoe Hattori <[email protected]>2024-12-24 03:54:11 +0000
committerHans Verkuil <[email protected]>2025-01-07 11:21:40 +0000
commit094f5c315f756b19198e6c401aa821ac0e868750 (patch)
tree85000762728155ab7e7b6ccea17f5174d8b99e23 /net/unix/unix_bpf.c
parentmedia: platform: exynos4-is: Remove unused __is_get_frame_size (diff)
downloadkernel-094f5c315f756b19198e6c401aa821ac0e868750.tar.gz
kernel-094f5c315f756b19198e6c401aa821ac0e868750.zip
staging: media: imx: fix OF node leak in imx_media_add_of_subdevs()
imx_media_add_of_subdevs() calls of_parse_phandle() and passes the obtained node to imx_media_of_add_csi(). The passed node is used in v4l2_async_nf_add_fwnode(), which increments the refcount of the node. Therefore, while the current implementation only releases the node when imx_media_of_add_csi() fails, but should always release it. Call of_node_put() right after imx_media_of_add_csi(). Fixes: dee747f88167 ("media: imx: Don't register IPU subdevs/links if CSI port missing") Signed-off-by: Joe Hattori <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions