Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163255304
D52683.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
624 B
Referenced Files
None
Subscribers
None
D52683.diff
View Options
diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -1428,17 +1428,6 @@
{
int error;
- if (((m->m_pkthdr.csum_flags & (CSUM_DATA_VALID | CSUM_PSEUDO_HDR)) !=
- ((CSUM_DATA_VALID | CSUM_PSEUDO_HDR))) ||
- (m->m_pkthdr.csum_data != 0xffff)) {
- /*
- * The checksum either did not have hardware offload
- * or it was a bad checksum. We can't LRO such
- * a packet.
- */
- counter_u64_add(tcp_bad_csums, 1);
- return (TCP_LRO_CANNOT);
- }
/* get current time */
binuptime(&lc->lro_last_queue_time);
CURVNET_SET(lc->ifp->if_vnet);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 11:39 AM (8 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35362879
Default Alt Text
D52683.diff (624 B)
Attached To
Mode
D52683: tcp lro: remove redundant check
Attached
Detach File
Event Timeline
Log In to Comment