Page MenuHomeFreeBSD

D31648.id94064.diff
No OneTemporary

D31648.id94064.diff

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
@@ -598,6 +598,9 @@
uint64_t now, tov;
struct bintime bt;
+#ifdef TCPHPTS
+ NET_EPOCH_ASSERT();
+#endif
if (LIST_EMPTY(&lc->lro_active))
return;
@@ -1177,8 +1180,6 @@
{
struct inpcb *inp;
- NET_EPOCH_ASSERT();
-
switch (pa->data.lro_type) {
#ifdef INET6
case LRO_TYPE_IPV6_TCP:
@@ -1369,6 +1370,7 @@
#ifdef TCPHPTS
int error;
+ NET_EPOCH_ASSERT();
CURVNET_SET(lc->ifp->if_vnet);
error = tcp_lro_flush_tcphpts(lc, le);
CURVNET_RESTORE();
@@ -1479,6 +1481,9 @@
uint64_t nseq;
unsigned x;
+#ifdef TCPHPTS
+ NET_EPOCH_ASSERT();
+#endif
/* check if no mbufs to flush */
if (lc->lro_mbuf_count == 0)
goto done;
@@ -1919,6 +1924,9 @@
void
tcp_lro_queue_mbuf(struct lro_ctrl *lc, struct mbuf *mb)
{
+#ifdef TCPHPTS
+ NET_EPOCH_ASSERT();
+#endif
/* sanity checks */
if (__predict_false(lc->ifp == NULL || lc->lro_mbuf_data == NULL ||
lc->lro_mbuf_max == 0)) {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 6:20 AM (10 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16356267
Default Alt Text
D31648.id94064.diff (1 KB)

Event Timeline