Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81969321
D23943.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D23943.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D23943: Fix iflib freelist state corruption
Attached
Detach File
Event Timeline
Log In to Comment