From: Lennert Buytenhek Date: Mon, 3 Aug 2009 19:58:26 +0000 (+0200) Subject: mwl8k: fix NULL pointer dereference on receive out-of-memory X-Git-Tag: v2.6.31-rc7~27^2~42^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25f9f1357139bbdc79bc960ea84909a7c22ec2b;p=pandora-kernel.git mwl8k: fix NULL pointer dereference on receive out-of-memory When we go into out-of-memory and fail to allocate skbuffs to refill the receive ring with, rxq_process can end up running into a receive ring entry that is marked as host-owned but doesn't have an associated skbuff. If this happens, we must break out of the rx processing loop instead of trying to process the descriptor. Signed-off-by: Lennert Buytenhek Acked-by: Nicolas Pitre Signed-off-by: John W. Linville --- Reading git-diff-tree failed