summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-04-26 13:47:08 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-04-27 10:06:58 +0200
commite6436be21e77e3659b4ff7e357ab5a8342d132d2 (patch)
treeebe51f19da789d00e5015d6d952110b74456006b /arch/sparc
parent8f815cdde3e550e10c2736990d791f60c2ce43eb (diff)
downloadop-kernel-dev-e6436be21e77e3659b4ff7e357ab5a8342d132d2.zip
op-kernel-dev-e6436be21e77e3659b4ff7e357ab5a8342d132d2.tar.gz
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>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud