Re: git: 454212b9718b - main - sctp: fix so_proto when peeling off a socket
- In reply to: Michael Tuexen : "Re: git: 454212b9718b - main - sctp: fix so_proto when peeling off a socket"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Feb 2026 20:44:34 UTC
> On Feb 26, 2026, at 11:57 PM, Michael Tuexen <tuexen@FreeBSD.org> wrote: > >> On 27. Feb 2026, at 04:46, Enji Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote: >> >> Hi Michael! >> >>> On Feb 25, 2026, at 5:00 AM, Michael Tuexen <tuexen@FreeBSD.org> wrote: >>> >>> The branch main has been updated by tuexen: >>> >>> URL: https://cgit.FreeBSD.org/src/commit/?id=454212b9718b55b43781f81bef252658e20e0fd3 >> >> … >> >>> @@ -171,7 +173,7 @@ sys_sctp_peeloff(struct thread *td, struct sctp_peeloff_args *uap) >>> td->td_retval[0] = fd; >>> >>> CURVNET_SET(head->so_vnet); >>> - so = sopeeloff(head); >>> + so = sopeeloff(head, &sctp_stream_protosw); >> >> >> This part of the change broke LINT-NOINET because sctp_stream_protosw is only defined in the INET case. I didn’t dig into the SCTP syscalls too far, but I think that the right protocol needs to be picked per the address family, right? > Fixed in > https://cgit.FreeBSD.org/src/commit/?id=6bd97e9e01ff159eef49b2521fdbe67d5db10d95 <https://cgit.freebsd.org/src/commit/?id=6bd97e9e01ff159eef49b2521fdbe67d5db10d95> > > Thanks again for reporting and sorry for breaking the build. No problemo! Thank you for fixing the issue so promptly :)!!! Hopefully `make tinderbox` is clean again now (on amd64/arm64 at least) :D.. -Enji