Page MenuHomeFreeBSD
Paste P354

Masterwork From Distant Lands
ActivePublic

Authored by kan on Jan 26 2020, 11:19 PM.
Tags
None
Referenced Files
F6096093: raw.txt
Jan 26 2020, 11:19 PM
Subscribers
None
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index 6f0f8806359..abe1692d240 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -3581,6 +3581,7 @@ msk_rxput(struct msk_if_softc *sc_if)
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 @@ msk_handle_events(struct msk_softc *sc)
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

Event Timeline

kan changed the title of this paste from untitled to Masterwork From Distant Lands.