summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-12-01 15:01:19 +0100
committerFelix Fietkau <nbd@nbd.name>2019-01-11 15:10:15 +0100
commit0ecf94dc3695a494dd4f495fc0913049d0e99891 (patch)
treedfe5aa8fffd1d60bab520a2c5a22518f4a502cd3 /tools/perf/scripts/python/bin
parent4d4b12bc56d33d68ad04382f4c15c42bf4616270 (diff)
downloadlinux-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/bin')
0 files changed, 0 insertions, 0 deletions