diff options
author | Oliver Neukum <[email protected]> | 2019-09-19 10:23:08 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-09-19 13:27:11 +0200 |
commit | 280ceaed79f18db930c0cc8bb21f6493490bf29c (patch) | |
tree | edbf7f8852963bf643f54508afe877c5cec46857 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b41dae061bbd722b9d7fa828f35d22035b218e18 (diff) |
usbnet: sanity checking of packet sizes and device mtu
After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.
Reported-and-tested-by: [email protected]
Signed-off-by: Oliver Neukum <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions