]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix memory leak
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Thu, 6 Feb 2014 19:01:32 +0000 (21:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2014 11:59:36 +0000 (12:59 +0100)
commit700c03b90f59f83555c0e9025152f0e75c339f5b
tree4a4650b8ad03ee14e8211d0b7a2dc0ed341a2970
parent034d66bb9a971f515c45408ffe937b50f7942031
mac80211: fix memory leak

In case ieee80211_prep_connection() fails to dereference
sdata->vif.chanctx_conf, the function returns and doesn't
free new_sta. fixed.

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c