Date: Thu, 9 Jul 2020 18:59:02 +0200 From: Michael Tuexen <tuexen@freebsd.org> To: Eugene Grosbein <eugen@grosbein.net> Cc: Mark Johnston <markj@freebsd.org>, freebsd-net@freebsd.org Subject: Re: making SCTP loadable and removing it from GENERIC Message-ID: <64E66BD2-99DA-4FBA-B5A9-03AE2C16C2DB@freebsd.org> In-Reply-To: <1a425cce-4905-1d2f-d5ee-cbeb1c300afc@grosbein.net> References: <20200709151300.GC8947@raichu> <A8BC13AB-F2EC-4819-8920-17395A4DBE64@freebsd.org> <1a425cce-4905-1d2f-d5ee-cbeb1c300afc@grosbein.net>
index | next in thread | previous in thread | raw e-mail
> On 9. Jul 2020, at 18:36, Eugene Grosbein <eugen@grosbein.net> wrote: > > 09.07.2020 22:41, Michael Tuexen wrote: > >>> I am wondering if anyone has any objections to or concerns about this >>> proposal. Any feedback is appreciated. > > I'm for it. > >> maybe it is acceptable to document user visible changes. This could include >> * parameter tunings in /etc/sysctl.conf are only applied if the SCTP module >> is loaded from /etc/loader.conf. > > You mean /boot/loader.conf. Yes, sorry for the mistake. > > This may be relaxed with "sctp_enable" knob for /etc/rc.conf and new startup script > /etc/rc.d/sctp that: a) REQUIRE: kld; b) checks if sctp.ko already loaded and load it as needed; > c) applies sctp sysctl tuning from /etc/sysctl.conf for values that differ. The only difference between this and loading it from /boot/loader.conf I see is that the above also works on some PPC platforms. Am I missing something? Best regards Michael > >> * If the module is not loaded yet, a user must have root privileges to run >> a program using SCTP sockets. > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64E66BD2-99DA-4FBA-B5A9-03AE2C16C2DB>
