From 42a028aa952b66a039ee8c0a08ff4e3658246269 Mon Sep 17 00:00:00 2001 From: Avinash Patil Date: Fri, 12 Sep 2014 20:08:47 +0530 Subject: [PATCH] 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 Signed-off-by: Avinash Patil Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: Marc Yang Signed-off-by: John W. Linville --- Reading git-format-patch failed