Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154092 Details for
Bug 235956
rt2500 Inconsistent lock state
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
git-wireless-dev-rt2x00-locking-fix.patch
git-wireless-dev-rt2x00-locking-fix.patch (text/plain), 793 bytes, created by
John W. Linville
on 2007-05-04 01:37:03 UTC
(
hide
)
Description:
git-wireless-dev-rt2x00-locking-fix.patch
Filename:
MIME Type:
Creator:
John W. Linville
Created:
2007-05-04 01:37:03 UTC
Size:
793 bytes
patch
obsolete
>diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c >index 5ac7af8..18e5491 100644 >--- a/net/mac80211/ieee80211.c >+++ b/net/mac80211/ieee80211.c >@@ -1814,12 +1814,19 @@ struct sk_buff * ieee80211_beacon_get(struct ieee80211_hw *hw, int if_id, > u8 *b_head, *b_tail; > int bh_len, bt_len; > >- bdev = dev_get_by_index(if_id); >+ /* rt2x00 calls us from hardirq context, so >+ * open code an _irq version of dev_get_by_index >+ * until we can find them another alternative... >+ */ >+ read_lock_irq(&dev_base_lock); >+ bdev = __dev_get_by_index(if_id); > if (bdev) { >+ dev_hold(bdev); > sdata = IEEE80211_DEV_TO_SUB_IF(bdev); > ap = &sdata->u.ap; > dev_put(bdev); > } >+ read_unlock_irq(&dev_base_lock); > > if (!ap || sdata->type != IEEE80211_IF_TYPE_AP || > !ap->beacon_head) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235956
:
152191
|
152192
|
154004
| 154092