From: Valdis Kletnieks Date: Mon, 8 Sep 2014 22:09:48 +0000 (-0400) Subject: staging/rtl8192u - check for skb alloc failure X-Git-Tag: fixes-for-v3.18-merge-window~15^2~593 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d99c305fd4edb9ee11ff57f43dc961ad684ab6;p=pandora-kernel.git staging/rtl8192u - check for skb alloc failure It's possible for dev_alloc_skb() to fail. Propagate the error to the caller, so it can clean up and drop the packet. The sender should end up retransmitting the packet, hopefully at a time we're prepared to allocate skb's again. Reported-By: Nicholas Krause Signed-Off-By: Valdis Kletnieks Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed