Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177715581
D5695.1795112875.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
758 B
Referenced Files
None
Subscribers
None
D5695.1795112875.diff
View Options
Index: sys/netinet/tcp_lro.h
===================================================================
--- sys/netinet/tcp_lro.h
+++ sys/netinet/tcp_lro.h
@@ -110,6 +110,7 @@
int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t);
void tcp_lro_queue_mbuf(struct lro_ctrl *, struct mbuf *);
+#define TCP_LRO_NO_ENTRIES -2
#define TCP_LRO_CANNOT -1
#define TCP_LRO_NOT_SUPPORTED 1
Index: sys/netinet/tcp_lro.c
===================================================================
--- sys/netinet/tcp_lro.c
+++ sys/netinet/tcp_lro.c
@@ -690,7 +690,7 @@
/* Try to find an empty slot. */
if (SLIST_EMPTY(&lc->lro_free))
- return (TCP_LRO_CANNOT);
+ return (TCP_LRO_NO_ENTRIES);
/* Start a new segment chain. */
le = SLIST_FIRST(&lc->lro_free);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 19, 6:27 PM (5 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41850903
Default Alt Text
D5695.1795112875.diff (758 B)
Attached To
Mode
D5695: tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries.
Attached
Detach File
Event Timeline