git: f87818eacfa1 - main - sctp: miror change due to upstreaming
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jan 2022 22:03:56 UTC
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=f87818eacfa1632c31a225e6852805be4f96d0e5 commit f87818eacfa1632c31a225e6852805be4f96d0e5 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2022-01-03 22:03:06 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2022-01-03 22:03:06 +0000 sctp: miror change due to upstreaming --- sys/netinet/sctp_usrreq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index 9ac57155c3bb..464337c534f2 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -59,7 +59,7 @@ extern const struct sctp_cc_functions sctp_cc_functions[]; extern const struct sctp_ss_functions sctp_ss_functions[]; static void -sctp_init(void *arg __unused) +sctp_init(void *arg SCTP_UNUSED) { u_long sb_max_adj; @@ -91,6 +91,7 @@ sctp_init(void *arg __unused) SCTP_BASE_VAR(eh_tag) = EVENTHANDLER_REGISTER(rt_addrmsg, sctp_addr_change_event_handler, NULL, EVENTHANDLER_PRI_FIRST); } + VNET_SYSINIT(sctp_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, sctp_init, NULL); #ifdef VIMAGE