]> git.ipfire.org Git - people/arne_f/kernel.git/commit
cfg80211: handle failed skb allocation
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 5 Jul 2016 12:23:10 +0000 (15:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Aug 2016 10:54:49 +0000 (12:54 +0200)
commitf4cb43e018456982a0d452f987e2cdf87ae777e0
treeef95a11ec125c38f75fd168d23eba6201bd49fb4
parent2f4cf2ec9191577c201aaf71cca4ccabb50cdb8e
cfg80211: handle failed skb allocation

commit 16a910a6722b7a8680409e634c7c0dac073c01e4 upstream.

Handle the case when dev_alloc_skb returns NULL.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/util.c