diff options
| author | Lorenzo Bianconi <[email protected]> | 2018-12-01 15:01:19 +0100 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2019-01-11 15:10:15 +0100 |
| commit | 0ecf94dc3695a494dd4f495fc0913049d0e99891 (patch) | |
| tree | dfe5aa8fffd1d60bab520a2c5a22518f4a502cd3 /tools/perf/scripts/python | |
| parent | 4d4b12bc56d33d68ad04382f4c15c42bf4616270 (diff) | |
mt76: usb: do not build the skb if reported len does not fit in buf_size
Precompute data length in order to avoid to allocate the related
skb data structure if reported length does not fit in queue buf_size
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions