Page MenuHomeFreeBSD

Don't define sctp probes unless the SCTP option is configured.
ClosedPublic

Authored by markj on Sep 6 2018, 2:36 AM.
Tags
None
Referenced Files
F149570565: D17057.id.diff
Wed, Mar 25, 8:04 AM
F149528341: D17057.id47752.diff
Wed, Mar 25, 1:14 AM
Unknown Object (File)
Mon, Mar 9, 11:20 AM
Unknown Object (File)
Sun, Mar 8, 5:56 PM
Unknown Object (File)
Fri, Mar 6, 4:17 PM
Unknown Object (File)
Sun, Mar 1, 6:02 PM
Unknown Object (File)
Jan 17 2026, 12:00 AM
Unknown Object (File)
Jan 15 2026, 7:36 PM
Subscribers

Details

Summary

Otherwise the "depends_on provider" guard in sctp.d doesn't work when
SCTP is omitted from the kernel config, and dtrace(1) fails to parse sctp.d
during startup since it references undefined types.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added a reviewer: tuexen.

Thanks for the fix. I never tested on a system without SCTP support.

This revision is now accepted and ready to land.Sep 6 2018, 1:10 PM
This revision was automatically updated to reflect the committed changes.