]> 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)
commitcebe5e3cb715176dc5011bf32e61338c7d0abb12
tree525e06594696ec392858adac3ccea73323fdcd3f
parent33d84652709b53641d0776a27552224ca0791287
cfg80211: handle failed skb allocation

Handle the case when dev_alloc_skb returns NULL.

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