linux/net/mac80211
Johannes Berg e6436be21e 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: 5a490510ba ("mac80211: use per-CPU TX/RX statistics")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-04-27 10:06:58 +02:00
..
Kconfig
Makefile
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.c
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
agg-tx.c
cfg.c
chan.c mac80211: recalc min_def chanctx even when chandef is identical 2016-04-05 10:51:08 +02:00
debug.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
driver-ops.c
driver-ops.h
ethtool.c
ht.c
ibss.c
ieee80211_i.h mac80211: TDLS: change BW calculation for WIDER_BW peers 2016-04-05 10:50:52 +02:00
iface.c mac80211: fix statistics leak if dev_alloc_name() fails 2016-04-27 10:06:58 +02:00
key.c
key.h
led.c
led.h
main.c
mesh.c
mesh.h
mesh_hwmp.c mac80211: fix "warning: ‘target_metric’ may be used uninitialized" 2016-04-06 15:10:25 +02:00
mesh_pathtbl.c
mesh_plink.c
mesh_ps.c
mesh_sync.c
michael.c
michael.h
mlme.c
ocb.c
offchannel.c
pm.c
rate.c
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c
scan.c
spectmgmt.c
sta_info.c mac80211: ensure no limits on station rhashtable 2016-04-05 11:06:58 +02:00
sta_info.h mac80211: remove description of dropped member 2016-04-05 11:12:09 +02:00
status.c
tdls.c mac80211: Fix BW upgrade for TDLS peers 2016-04-05 11:26:33 +02:00
tkip.c
tkip.h
trace.c
trace.h
trace_msg.h
tx.c mac80211: close the SP when we enqueue frames during the SP 2016-04-05 11:33:49 +02:00
util.c
vht.c mac80211: TDLS: change BW calculation for WIDER_BW peers 2016-04-05 10:50:52 +02:00
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h