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
..
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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
agg-tx.c
cfg.c mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
chan.c mac80211: recalc min_def chanctx even when chandef is identical 2016-04-05 10:51:08 +02:00
debug.h
debugfs_key.c mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
debugfs.c Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
debugfs.h
driver-ops.c
driver-ops.h
ethtool.c
ht.c
ibss.c Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
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
Kconfig
key.c mac80211: remove ieee80211_get_key_tx_seq/ieee80211_set_key_tx_seq 2016-02-24 09:04:39 +01:00
key.h mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
led.c
led.h
main.c
Makefile
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
mesh.c Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
mesh.h Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
michael.c
michael.h
mlme.c Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
ocb.c
offchannel.c
pm.c
rate.c
rate.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht_debugfs.c
rc80211_minstrel_ht.c mac80211: minstrel_ht: fix a logic error in RTS/CTS handling 2016-03-01 15:49:51 +01:00
rc80211_minstrel_ht.h
rc80211_minstrel.c
rc80211_minstrel.h
rx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
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 mac80211: use reset to set header pointer 2016-03-04 22:45:13 -05:00
tdls.c mac80211: Fix BW upgrade for TDLS peers 2016-04-05 11:26:33 +02:00
tkip.c mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
tkip.h mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
trace_msg.h
trace.c
trace.h
tx.c mac80211: close the SP when we enqueue frames during the SP 2016-04-05 11:33:49 +02:00
util.c Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
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 mac80211: move TKIP TX IVs to public part of key struct 2016-02-24 09:04:38 +01:00
wpa.h