aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2025-07-07 18:34:01 +0000
committerHans Verkuil <[email protected]>2025-07-11 17:27:28 +0000
commitbda2859bff0b9596a19648f3740c697ce4c71496 (patch)
tree60e13f1a60f4898fc87b8fc3b566cf18f03d0193 /tools/perf/scripts/python/net_dropmonitor.py
parentmedia: uvcvideo: uvc_v4l2_unlocked_ioctl: Invert PM logic (diff)
downloadkernel-bda2859bff0b9596a19648f3740c697ce4c71496.tar.gz
kernel-bda2859bff0b9596a19648f3740c697ce4c71496.zip
media: uvcvideo: Do not mark valid metadata as invalid
Currently, the driver performs a length check of the metadata buffer before the actual metadata size is known and before the metadata is decided to be copied. This results in valid metadata buffers being incorrectly marked as invalid. Move the length check to occur after the metadata size is determined and is decided to be copied. Cc: [email protected] Fixes: 088ead255245 ("media: uvcvideo: Add a metadata device node") Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions