cfg80211: handle failed skb allocation
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 5 Jul 2016 12:23:10 +0000 (15:23 +0300)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 6 Jul 2016 11:52:18 +0000 (13:52 +0200)
commit16a910a6722b7a8680409e634c7c0dac073c01e4
tree525e06594696ec392858adac3ccea73323fdcd3f
parent6e8ef842223b90a33efd570128bb566a9ae6f5ad
cfg80211: handle failed skb allocation

Handle the case when dev_alloc_skb returns NULL.

Cc: stable@vger.kernel.org
Fixes: 2b67f944f88c2 ("cfg80211: reuse existing page fragments in A-MSDU rx")
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/wireless/util.c