From: Larry Finger Date: Wed, 13 Jul 2011 16:06:34 +0000 (-0500) Subject: staging: rtl8192e: Fix kernel panics due to RX skb allocation failures X-Git-Tag: v3.2-rc1~169^2^2~864^2~132^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a7fc6d4cde3584c8c637d2482994853b44243d;p=pandora-kernel.git staging: rtl8192e: Fix kernel panics due to RX skb allocation failures This driver uses RX skb's of O(2), thus it is possible for memory fragmentation to prevent the allocation of a new one to replace a newly-received buffer. When such a failure occurs, the kernel panics. The fix is to drop an incoming packet whenever such an allocation fails. This fix matches the one done in rtlwifi for other Realtek PCI devices. Signed-off-by: Larry Finger --- Reading git-diff-tree failed