]> git.baikalelectronics.ru Git - kernel.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)
commit33d84652709b53641d0776a27552224ca0791287
treeff244b3e2bf9e2a309e2ea50be75ec0de51794d5
parent626579fe897672fc43a7319c87593d360a07388d
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: 06893696c9345 ("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