diff options
| author | 2014-09-12 20:08:47 +0530 | |
|---|---|---|
| committer | 2014-09-15 15:00:51 -0400 | |
| commit | 42a028aa952b66a039ee8c0a08ff4e3658246269 (patch) | |
| tree | 2f882c50a3c1d739439e7d6cf4cbeb62806f9171 /scripts | |
| parent | mwifiex: fix probable memory corruption while processing TDLS frame (diff) | |
mwifiex: avoid processing RX packets with invalid length
If rx_len received in interface header from FW is more than
RX buffer size, skb_put for such length results into skb_panic.
Avoid this by not processing such packets. We just print a warning
for such packets and free skb.
Reviewed-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
