Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151510160
D23377.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
736 B
Referenced Files
None
Subscribers
None
D23377.id.diff
View Options
Index: sys/dev/msk/if_msk.c
===================================================================
--- sys/dev/msk/if_msk.c
+++ sys/dev/msk/if_msk.c
@@ -3581,6 +3581,7 @@
static int
msk_handle_events(struct msk_softc *sc)
{
+ struct epoch_tracker et;
struct msk_if_softc *sc_if;
int rxput[2];
struct msk_stat_desc *sd;
@@ -3627,11 +3628,13 @@
case OP_RXSTAT:
if (!(sc_if->msk_ifp->if_drv_flags & IFF_DRV_RUNNING))
break;
+ NET_EPOCH_ENTER(et);
if (sc_if->msk_framesize >
(MCLBYTES - MSK_RX_BUF_ALIGN))
msk_jumbo_rxeof(sc_if, status, control, len);
else
msk_rxeof(sc_if, status, control, len);
+ NET_EPOCH_EXIT(et);
rxprog++;
/*
* Because there is no way to sync single Rx LE
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 10:25 PM (1 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31174270
Default Alt Text
D23377.id.diff (736 B)
Attached To
Mode
D23377: Enter epoch in msk_handle_events
Attached
Detach File
Event Timeline
Log In to Comment