From 6e0efc6a3979a5a6f784ebe60bb67df21d337eed Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Tue, 23 Feb 2016 17:53:39 +0000 Subject: This fixes the fastpath code to have a better module initialization sequence when included in loader.conf. It also fixes it so that no matter if some one incorrectly specifies a load order, the lists and such will be initialized on demand at that time so no one can make that mistake. Reviewed by: hiren Differential Revision: D5189 --- sys/netinet/tcp_stacks/fastpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/tcp_stacks/fastpath.c') diff --git a/sys/netinet/tcp_stacks/fastpath.c b/sys/netinet/tcp_stacks/fastpath.c index 6af9212b22cd..2cf7895d4e1f 100644 --- a/sys/netinet/tcp_stacks/fastpath.c +++ b/sys/netinet/tcp_stacks/fastpath.c @@ -2453,4 +2453,4 @@ static moduledata_t new_tcp_fastpaths = { }; MODULE_VERSION(kern_tcpfastpaths, 1); -DECLARE_MODULE(kern_tcpfastpaths, new_tcp_fastpaths, SI_SUB_PSEUDO, SI_ORDER_ANY); +DECLARE_MODULE(kern_tcpfastpaths, new_tcp_fastpaths, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY); -- cgit v1.2.3