tag | 0ea80551c94c12d33720f4d30daf5b807da85bb1 | |
---|---|---|
tagger | Johannes Berg <johannes.berg@intel.com> | Wed Apr 27 10:55:40 2016 +0200 |
object | e6436be21e77e3659b4ff7e357ab5a8342d132d2 |
Just a single fix, for a per-CPU memory leak in a (root user triggerable) error case.
commit | e6436be21e77e3659b4ff7e357ab5a8342d132d2 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Apr 26 13:47:08 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Apr 27 10:06:58 2016 +0200 |
tree | ebe51f19da789d00e5015d6d952110b74456006b | |
parent | 8f815cdde3e550e10c2736990d791f60c2ce43eb [diff] |
mac80211: fix statistics leak if dev_alloc_name() fails In the case that dev_alloc_name() fails, e.g. because the name was given by the user and already exists, we need to clean up properly and free the per-CPU statistics. Fix that. Cc: stable@vger.kernel.org Fixes: 5a490510ba5f ("mac80211: use per-CPU TX/RX statistics") Signed-off-by: Johannes Berg <johannes.berg@intel.com>