making SCTP loadable and removing it from GENERIC

Michael Tuexen tuexen at freebsd.org
Thu Jul 9 16:59:11 UTC 2020


> On 9. Jul 2020, at 18:36, Eugene Grosbein <eugen at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list