Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144973109
D36043.id108885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D36043.id108885.diff
View Options
Index: sys/netinet/tcp_lro.c
===================================================================
--- sys/netinet/tcp_lro.c
+++ sys/netinet/tcp_lro.c
@@ -1948,7 +1948,12 @@
m_freem(mb);
return;
}
-
+ /* Get a more accurate view of when the packet arrived if hdwr tstmp is lacking */
+ if ((mb->m_flags & (M_TSTMP_LRO | M_TSTMP)) == 0) {
+ binuptime(&lc->lro_last_queue_time);
+ mb->m_pkthdr.rcv_tstmp = bintime2ns(&lc->lro_last_queue_time);
+ mb->m_flags |= M_TSTMP_LRO;
+ }
/* check if packet is not LRO capable */
if (__predict_false((lc->ifp->if_capenable & IFCAP_LRO) == 0)) {
/* input packet to network layer */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 15, 3:37 PM (6 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28746514
Default Alt Text
D36043.id108885.diff (635 B)
Attached To
Mode
D36043: lro has a loss of timestamp precision.
Attached
Detach File
Event Timeline
Log In to Comment