Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150535993
D14843.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D14843.id.diff
View Options
Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/sys/net/iflib.c
@@ -2450,7 +2450,7 @@
/* should I merge this back in now that the two paths are basically duplicated? */
if (ri->iri_nfrags == 1 &&
- ri->iri_frags[0].irf_len <= IFLIB_RX_COPY_THRESH) {
+ ri->iri_frags[0].irf_len <= MIN(IFLIB_RX_COPY_THRESH, MHLEN)) {
rxd_frag_to_sd(rxq, &ri->iri_frags[0], FALSE, &sd);
m = *sd.ifsd_m;
*sd.ifsd_m = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 3:43 AM (39 m, 50 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30742770
Default Alt Text
D14843.id.diff (508 B)
Attached To
Mode
D14843: Clamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get()
Attached
Detach File
Event Timeline
Log In to Comment