]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nl80211: Move ACL parsing later to avoid a possible memory leak
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Tue, 5 Jul 2016 08:14:51 +0000 (13:44 +0530)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 6 Jul 2016 11:09:02 +0000 (13:09 +0200)
commit6e8ef842223b90a33efd570128bb566a9ae6f5ad
treeff244b3e2bf9e2a309e2ea50be75ec0de51794d5
parentc041778c966c92c964033f1cdfee60a9f2b5e465
nl80211: Move ACL parsing later to avoid a possible memory leak

No support for pbss results in a memory leak for the acl_data
(if parse_acl_data succeeds). Fix this by moving the ACL parsing later.

Cc: stable@vger.kernel.org
Fixes: 34d505193bd10 ("cfg80211: basic support for PBSS network type")
Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/wireless/nl80211.c