aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorTomasz Pakuła <[email protected]>2025-02-25 22:30:01 +0000
committerJiri Kosina <[email protected]>2025-03-04 20:42:44 +0000
commit0c6673e3d17b258b8c5c7331d28bf6c49f25ed30 (patch)
treed29ba3a5efb91665d7da55059f60a3286bbb706a /net/unix/unix_bpf.c
parentHID: pidff: Rename two functions to align them with naming convention (diff)
downloadkernel-0c6673e3d17b258b8c5c7331d28bf6c49f25ed30.tar.gz
kernel-0c6673e3d17b258b8c5c7331d28bf6c49f25ed30.zip
HID: pidff: Clamp effect playback LOOP_COUNT value
Ensures the loop count will never exceed the logical_maximum. Fixes implementation errors happening when applications use the max value of int32/DWORD as the effect iterations. This could be observed when running software both native and in wine. Signed-off-by: Tomasz Pakuła <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions