Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 22:12:01 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cc6d86f2ff9c - stable/13 - Don't pass RFPROC to kproc_create(), it is redundant.
Message-ID:  <202103292212.12TMC1BZ064628@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=cc6d86f2ff9c18f35fd7925d2b0785252af9b892

commit cc6d86f2ff9c18f35fd7925d2b0785252af9b892
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-12 17:48:10 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-03-29 18:10:49 +0000

    Don't pass RFPROC to kproc_create(), it is redundant.
    
    Sponsored by:   Netflix
    
    (cherry picked from commit 5a50eb6585ef8d1a40c8086bab8639cc56f00df9)
---
 sys/netinet/sctp_bsd_addr.c | 2 +-
 sys/netinet/sctp_pcb.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/sctp_bsd_addr.c b/sys/netinet/sctp_bsd_addr.c
index aad84f71a678..2a00885d8ddd 100644
--- a/sys/netinet/sctp_bsd_addr.c
+++ b/sys/netinet/sctp_bsd_addr.c
@@ -108,7 +108,7 @@ sctp_startup_iterator(void)
 	kproc_create(sctp_iterator_thread,
 	    (void *)NULL,
 	    &sctp_it_ctl.thread_proc,
-	    RFPROC,
+	    0,
 	    SCTP_KTHREAD_PAGES,
 	    SCTP_KTRHEAD_NAME);
 }
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 4d09ad3a7353..f4264ab387f1 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -5678,7 +5678,7 @@ sctp_startup_mcore_threads(void)
 		(void)kproc_create(sctp_mcore_thread,
 		    (void *)&sctp_mcore_workers[cpu],
 		    &sctp_mcore_workers[cpu].thread_proc,
-		    RFPROC,
+		    0,
 		    SCTP_KTHREAD_PAGES,
 		    SCTP_MCORE_NAME);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103292212.12TMC1BZ064628>