All of lore.kernel.org
 help / color / mirror / Atom feed
* RTNL: assertion failed at key.c
@ 2008-04-07 19:57 Jiri Slaby
  2008-04-08 14:28 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2008-04-07 19:57 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jiri Benc, John W. Linville, Johannes Berg

Hi,

I got this:

RTNL: assertion failed at /home/l/latest/xxx/net/mac80211/sta_info.c (140)
Pid: 19097, comm: ath5k_pci Tainted: G        W 2.6.25-rc8-mm1_64lock #6

Call Trace:
  [<ffffffffa009073c>] :mac80211:sta_info_destroy+0x14c/0x170
  [<ffffffffa009085b>] :mac80211:sta_info_flush+0xfb/0x120
  [<ffffffffa0093926>] :mac80211:ieee80211_sta_join_ibss+0x66/0x560
  [<ffffffffa0093f2d>] ? :mac80211:ieee80211_rx_bss_add+0x10d/0x160
  [<ffffffff804e020f>] ? _spin_unlock_bh+0x2f/0x40
  [<ffffffffa0093f2d>] ? :mac80211:ieee80211_rx_bss_add+0x10d/0x160
  [<ffffffffa0095526>] :mac80211:ieee80211_sta_find_ibss+0x376/0x4a0
  [<ffffffffa0095885>] ? :mac80211:ieee80211_scan_completed+0x125/0x2c0
  [<ffffffffa00959e5>] :mac80211:ieee80211_scan_completed+0x285/0x2c0
  [<ffffffffa0098a72>] :mac80211:ieee80211_sta_scan_work+0xa2/0x1e0
  [<ffffffffa00989d0>] ? :mac80211:ieee80211_sta_scan_work+0x0/0x1e0
  [<ffffffff80241fc6>] run_workqueue+0x176/0x220
  [<ffffffff80242c96>] worker_thread+0xa6/0x110
  [<ffffffff802462e0>] ? autoremove_wake_function+0x0/0x40
  [<ffffffff80242bf0>] ? worker_thread+0x0/0x110
  [<ffffffff80245ebd>] kthread+0x4d/0x80
  [<ffffffff8020c558>] child_rip+0xa/0x12
  [<ffffffff8020bc6f>] ? restore_args+0x0/0x30
  [<ffffffff80245e70>] ? kthread+0x0/0x80
  [<ffffffff8020c54e>] ? child_rip+0x0/0x12

RTNL: assertion failed at /home/l/latest/xxx/net/mac80211/key.c (275)
Pid: 19097, comm: ath5k_pci Tainted: G        W 2.6.25-rc8-mm1_64lock #6

Call Trace:
  [<ffffffffa00a218a>] :mac80211:ieee80211_key_free+0xaa/0xb0
  [<ffffffffa0090634>] :mac80211:sta_info_destroy+0x44/0x170
  [<ffffffffa009085b>] :mac80211:sta_info_flush+0xfb/0x120
  [<ffffffffa0093926>] :mac80211:ieee80211_sta_join_ibss+0x66/0x560
  [<ffffffffa0093f2d>] ? :mac80211:ieee80211_rx_bss_add+0x10d/0x160
  [<ffffffff804e020f>] ? _spin_unlock_bh+0x2f/0x40
  [<ffffffffa0093f2d>] ? :mac80211:ieee80211_rx_bss_add+0x10d/0x160
  [<ffffffffa0095526>] :mac80211:ieee80211_sta_find_ibss+0x376/0x4a0
  [<ffffffffa0095885>] ? :mac80211:ieee80211_scan_completed+0x125/0x2c0
  [<ffffffffa00959e5>] :mac80211:ieee80211_scan_completed+0x285/0x2c0
  [<ffffffffa0098a72>] :mac80211:ieee80211_sta_scan_work+0xa2/0x1e0
  [<ffffffffa00989d0>] ? :mac80211:ieee80211_sta_scan_work+0x0/0x1e0
  [<ffffffff80241fc6>] run_workqueue+0x176/0x220
  [<ffffffff80242c96>] worker_thread+0xa6/0x110
  [<ffffffff802462e0>] ? autoremove_wake_function+0x0/0x40
  [<ffffffff80242bf0>] ? worker_thread+0x0/0x110
  [<ffffffff80245ebd>] kthread+0x4d/0x80
  [<ffffffff8020c558>] child_rip+0xa/0x12
  [<ffffffff8020bc6f>] ? restore_args+0x0/0x30
  [<ffffffff80245e70>] ? kthread+0x0/0x80
  [<ffffffff8020c54e>] ? child_rip+0x0/0x12


I don't know what's the proper place for rtnl_un/lock here. sta_info_flush? Or 
even ieee80211_sta_join_ibss and others who call sta_info_flush?

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTNL: assertion failed at key.c
  2008-04-07 19:57 RTNL: assertion failed at key.c Jiri Slaby
@ 2008-04-08 14:28 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-04-08 14:28 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: linux-wireless, Jiri Benc, John W. Linville

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]


> I don't know what's the proper place for rtnl_un/lock here. sta_info_flush? Or 
> even ieee80211_sta_join_ibss and others who call sta_info_flush?

I fixed this totally differently now, got fed up with the rtnl.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-08 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07 19:57 RTNL: assertion failed at key.c Jiri Slaby
2008-04-08 14:28 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.