Stanislaw Gruszka
ecb4433550
mac80211: fix suspend/resume races with unregister hw
...
Do not call ->suspend, ->resume methods after we unregister wiphy. Also
delete sta_clanup timer after we finish wiphy unregister to avoid this:
WARNING: at lib/debugobjects.c:262 debug_print_object+0x85/0xa0()
Hardware name: 6369CTO
ODEBUG: free active (active state 0) object type: timer_list hint: sta_info_cleanup+0x0/0x180 [mac80211]
Modules linked in: aes_i586 aes_generic fuse bridge stp llc autofs4 sunrpc cpufreq_ondemand acpi_cpufreq mperf ext2 dm_mod uinput thinkpad_acpi hwmon sg arc4 rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 cfg80211 i2c_i801 iTCO_wdt iTCO_vendor_support e1000e ext4 mbcache jbd2 sd_mod crc_t10dif sr_mod cdrom yenta_socket ahci libahci pata_acpi ata_generic ata_piix i915 drm_kms_helper drm i2c_algo_bit video [last unloaded: microcode]
Pid: 5663, comm: pm-hibernate Not tainted 3.1.0-rc1-wl+ #19
Call Trace:
[<c0454cfd>] warn_slowpath_common+0x6d/0xa0
[<c05e05e5>] ? debug_print_object+0x85/0xa0
[<c05e05e5>] ? debug_print_object+0x85/0xa0
[<c0454dae>] warn_slowpath_fmt+0x2e/0x30
[<c05e05e5>] debug_print_object+0x85/0xa0
[<f8a808e0>] ? sta_info_alloc+0x1a0/0x1a0 [mac80211]
[<c05e0bd2>] debug_check_no_obj_freed+0xe2/0x180
[<c051175b>] kfree+0x8b/0x150
[<f8a126ae>] cfg80211_dev_free+0x7e/0x90 [cfg80211]
[<f8a13afd>] wiphy_dev_release+0xd/0x10 [cfg80211]
[<c068d959>] device_release+0x19/0x80
[<c05d06ba>] kobject_release+0x7a/0x1c0
[<c07646a8>] ? rtnl_unlock+0x8/0x10
[<f8a13adb>] ? wiphy_resume+0x6b/0x80 [cfg80211]
[<c05d0640>] ? kobject_del+0x30/0x30
[<c05d1a6d>] kref_put+0x2d/0x60
[<c05d056d>] kobject_put+0x1d/0x50
[<c08015f4>] ? mutex_lock+0x14/0x40
[<c068d60f>] put_device+0xf/0x20
[<c069716a>] dpm_resume+0xca/0x160
[<c04912bd>] hibernation_snapshot+0xcd/0x260
[<c04903df>] ? freeze_processes+0x3f/0x90
[<c049151b>] hibernate+0xcb/0x1e0
[<c048fdc0>] ? pm_async_store+0x40/0x40
[<c048fe60>] state_store+0xa0/0xb0
[<c048fdc0>] ? pm_async_store+0x40/0x40
[<c05d0200>] kobj_attr_store+0x20/0x30
[<c0575ea4>] sysfs_write_file+0x94/0xf0
[<c051e26a>] vfs_write+0x9a/0x160
[<c0575e10>] ? sysfs_open_file+0x200/0x200
[<c051e3fd>] sys_write+0x3d/0x70
[<c080959f>] sysenter_do_call+0x12/0x28
Cc: stable@kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-08-22 14:21:40 -04:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-07-20 15:04:36 -04:00
2011-05-20 13:43:21 -07:00
2011-07-18 14:29:03 -04:00
2011-03-14 14:46:58 -04:00
2011-07-08 11:11:20 -04:00
2010-12-13 15:23:29 -05:00
2011-04-20 16:05:59 -04:00
2009-12-21 18:38:52 -05:00
2011-04-19 15:38:03 -04:00
2011-05-05 14:59:20 -04:00
2010-11-15 13:24:48 -05:00
2011-07-20 15:04:35 -04:00
2009-08-04 16:43:25 -04:00
2011-07-20 15:04:35 -04:00
2009-07-10 15:01:49 -04:00
2011-06-07 14:41:36 -04:00
2011-06-08 14:19:05 -04:00
2011-07-20 15:04:35 -04:00
2011-07-27 22:39:30 -07:00
2011-04-04 16:20:00 -04:00
2011-07-15 13:38:33 -04:00
2011-07-13 14:49:43 -04:00
2011-01-05 16:07:12 -05:00
2010-12-22 14:33:37 -05:00
2011-08-22 14:21:40 -04:00
2010-06-02 16:12:59 -04:00
2011-07-21 14:10:00 +02:00
2011-07-05 15:26:53 -04:00
2011-05-16 14:10:49 -04:00
2011-05-12 14:10:55 -04:00
2011-05-16 14:25:29 -04:00
2011-07-20 15:04:35 -04:00
2011-02-04 16:30:32 -05:00
2011-07-15 13:39:42 -04:00
2010-11-24 16:19:35 -05:00
2010-06-02 16:12:59 -04:00
2010-10-15 15:53:27 +02:00
2010-09-16 10:33:17 +02:00
2011-06-01 15:12:29 -04:00
2010-06-24 15:42:18 -04:00
2011-06-01 15:12:29 -04:00
2011-06-01 15:12:29 -04:00
2010-03-30 22:02:32 +09:00
2010-10-23 11:47:02 -07:00
2011-03-31 11:26:23 -03:00
2011-07-13 14:49:43 -04:00
2011-07-19 16:50:00 -04:00
2009-12-21 18:38:52 -05:00
2011-07-08 22:21:58 +02:00
2011-07-08 11:42:21 -04:00
2011-04-28 14:50:00 -04:00
2011-07-15 13:38:32 -04:00
2011-07-08 11:11:19 -04:00
2011-07-13 14:49:43 -04:00
2011-07-19 16:50:00 -04:00
2011-04-04 16:20:00 -04:00
2011-04-04 16:20:00 -04:00
2011-06-27 15:09:39 -04:00
2011-06-27 15:09:39 -04:00
2011-07-20 15:04:35 -04:00
2011-07-08 11:42:21 -04:00
2009-01-29 16:00:02 -05:00