Page MenuHomeFreeBSD

D23943.diff
No OneTemporary

D23943.diff

Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/sys/net/iflib.c
@@ -2072,7 +2072,9 @@
bus_dmamap_sync(fl->ifl_ifdi->idi_tag, fl->ifl_ifdi->idi_map,
BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);
ctx->isc_rxd_flush(ctx->ifc_softc, fl->ifl_rxq->ifr_id, fl->ifl_id, pidx);
- fl->ifl_fragidx = frag_idx;
+ fl->ifl_fragidx = frag_idx + 1;
+ if (fl->ifl_fragidx == fl->ifl_size)
+ fl->ifl_fragidx = 0;
return (n == -1 ? 0 : IFLIB_RXEOF_EMPTY);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 15, 4:56 AM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091441
Default Alt Text
D23943.diff (536 B)

Event Timeline