diff options
author | Lee Jones <lee@kernel.org> | 2023-03-20 16:06:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-22 15:28:10 +0300 |
commit | eb7716a054a6ce96cd9264fbd246e92bc985af86 (patch) | |
tree | 2efc1ff69939f2e792b377d4d026d9ce8cef9244 /drivers/net/phy | |
parent | b687ac70e66a1bad377864b30bf24c98017bac33 (diff) | |
download | linux-eb7716a054a6ce96cd9264fbd246e92bc985af86.tar.xz |
HID: uhid: Over-ride the default maximum data buffer value with our own
commit 1c5d4221240a233df2440fe75c881465cdf8da07 upstream.
The default maximum data buffer size for this interface is UHID_DATA_MAX
(4k). When data buffers are being processed, ensure this value is used
when ensuring the sanity, rather than a value between the user provided
value and HID_MAX_BUFFER_SIZE (16k).
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions