]> git.baikalelectronics.ru Git - 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)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 6 Jul 2016 11:52:18 +0000 (13:52 +0200)
commitfafff71a528eb3f1f5d12c97456c79af4720f69f
tree525e06594696ec392858adac3ccea73323fdcd3f
parent05344fd4c28fec047f58b4876a9c7acd632b163c
cfg80211: handle failed skb allocation

Handle the case when dev_alloc_skb returns NULL.

Cc: stable@vger.kernel.org
Fixes: bf471a342047c ("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