Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151807131
D46435.id142977.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46435.id142977.diff
View Options
diff --git a/sys/netinet/tcp_lro.h b/sys/netinet/tcp_lro.h
--- a/sys/netinet/tcp_lro.h
+++ b/sys/netinet/tcp_lro.h
@@ -216,7 +216,6 @@
int tcp_lro_init_args(struct lro_ctrl *, struct ifnet *, unsigned, unsigned);
void tcp_lro_free(struct lro_ctrl *);
void tcp_lro_flush_inactive(struct lro_ctrl *, const struct timeval *);
-void tcp_lro_flush(struct lro_ctrl *, struct lro_entry *);
void tcp_lro_flush_all(struct lro_ctrl *);
extern int (*tcp_lro_flush_tcphpts)(struct lro_ctrl *, struct lro_entry *);
int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t);
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
@@ -83,6 +83,7 @@
static void tcp_lro_rx_done(struct lro_ctrl *lc);
static int tcp_lro_rx_common(struct lro_ctrl *lc, struct mbuf *m,
uint32_t csum, bool use_hash);
+static void tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le);
SYSCTL_NODE(_net_inet_tcp, OID_AUTO, lro, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
"TCP LRO");
@@ -1104,7 +1105,7 @@
}
}
-void
+static void
tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 7:42 PM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31304353
Default Alt Text
D46435.id142977.diff (1 KB)
Attached To
Mode
D46435: tcp: make tcp_lro_flush() static
Attached
Detach File
Event Timeline
Log In to Comment