summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2010-05-16 17:03:56 +0000
committerrrs <rrs@FreeBSD.org>2010-05-16 17:03:56 +0000
commit1f1a47d59f341422f2c773d4278610f4adfcc5cb (patch)
treef36853251248dcc1ac9a307c0e4e682df6d3c441 /sys/netinet/sctp_pcb.h
parent84d6f507157c88624f7662907cac736b8c4243a9 (diff)
downloadFreeBSD-src-1f1a47d59f341422f2c773d4278610f4adfcc5cb.zip
FreeBSD-src-1f1a47d59f341422f2c773d4278610f4adfcc5cb.tar.gz
This adds back the Iterator to the sctp
code base. We now properly have ONE thread that services all VNET's. Also we purge out the old timer based iterator code which had multiple LOR's and other issues. MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r--sys/netinet/sctp_pcb.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h
index 1a468f8..6f657e8 100644
--- a/sys/netinet/sctp_pcb.h
+++ b/sys/netinet/sctp_pcb.h
@@ -177,8 +177,6 @@ struct sctp_epinfo {
struct sctppcbhead listhead;
struct sctpladdr addr_wq;
- struct sctpiterators iteratorhead;
- int threads_must_exit;
/* ep zone info */
sctp_zone_t ipi_zone_ep;
sctp_zone_t ipi_zone_asoc;
@@ -191,10 +189,10 @@ struct sctp_epinfo {
sctp_zone_t ipi_zone_asconf_ack;
struct rwlock ipi_ep_mtx;
- struct mtx it_mtx;
struct mtx ipi_iterator_wq_mtx;
struct rwlock ipi_addr_mtx;
struct mtx ipi_pktlog_mtx;
+ struct mtx wq_addr_mtx;
uint32_t ipi_count_ep;
/* assoc/tcb zone info */
@@ -228,14 +226,9 @@ struct sctp_epinfo {
uint32_t ipi_free_chunks;
uint32_t ipi_free_strmoq;
-
struct sctpvtaghead vtag_timewait[SCTP_STACK_VTAG_HASH_SIZE];
/* address work queue handling */
-#if defined(SCTP_USE_THREAD_BASED_ITERATOR)
- uint32_t iterator_running;
- SCTP_PROCESS_STRUCT thread_proc;
-#endif
struct sctp_timer addr_wq_timer;
};
OpenPOWER on IntegriCloud