diff options
author | Cathy Luo <[email protected]> | 2016-07-21 16:30:24 +0530 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-08-18 16:02:08 +0300 |
commit | c81396f3da22aa8f1e8fbf7943616a0839c4d63d (patch) | |
tree | ca22e7a196d9eba407905cf239d2461f9fd94c65 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 184ca823481c99dadd7d946e5afd4bb921eab30d (diff) |
mwifiex: fix large amsdu packets causing firmware hang
Sometimes host prepares and downloads a large amsdu packet to firmware
which leads to a memory corruption in firmware.
The reason is __dev_alloc_skb() may allocate larger buffer than required
size. This patch solves the problem by checking "adapter->tx_buf_size"
instead of relying on skb_tailroom().
Signed-off-by: Cathy Luo <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions