Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170773892
D26554.id77515.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
734 B
Referenced Files
None
Subscribers
None
D26554.id77515.diff
View Options
Index: sys/dev/rtwn/usb/rtwn_usb_rx.c
===================================================================
--- sys/dev/rtwn/usb/rtwn_usb_rx.c
+++ sys/dev/rtwn/usb/rtwn_usb_rx.c
@@ -400,13 +400,13 @@
* ieee80211_input() because here is at the end of a USB
* callback and safe to unlock.
*/
- NET_EPOCH_ENTER(et);
while (m != NULL) {
next = m->m_nextpkt;
m->m_nextpkt = NULL;
ni = rtwn_rx_frame(sc, m);
+ NET_EPOCH_ENTER(et);
RTWN_UNLOCK(sc);
if (ni != NULL) {
@@ -416,9 +416,9 @@
(void)ieee80211_input_mimo_all(ic, m);
}
RTWN_LOCK(sc);
+ NET_EPOCH_EXIT(et);
m = next;
}
- NET_EPOCH_EXIT(et);
break;
default:
/* needs it to the inactive queue due to a error. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 7, 1:39 PM (2 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38469499
Default Alt Text
D26554.id77515.diff (734 B)
Attached To
Mode
D26554: rtwn: narrow the epoch area
Attached
Detach File
Event Timeline
Log In to Comment