diff options
| author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-12-01 15:01:19 +0100 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2019-01-11 15:10:15 +0100 |
| commit | 0ecf94dc3695a494dd4f495fc0913049d0e99891 (patch) | |
| tree | dfe5aa8fffd1d60bab520a2c5a22518f4a502cd3 /tools/perf/scripts/python | |
| parent | 4d4b12bc56d33d68ad04382f4c15c42bf4616270 (diff) | |
| download | linux-0ecf94dc3695a494dd4f495fc0913049d0e99891.tar.gz linux-0ecf94dc3695a494dd4f495fc0913049d0e99891.zip | |
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 <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
