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
Unknown Object (File)
Sun, Jun 16, 1:17 PM
Unknown Object (File)
Mon, May 27, 9:59 AM
Unknown Object (File)
May 9 2024, 8:53 PM
Unknown Object (File)
Apr 27 2024, 10:03 AM
Unknown Object (File)
Apr 27 2024, 10:02 AM
Unknown Object (File)
Apr 27 2024, 10:02 AM
Unknown Object (File)
Apr 27 2024, 8:33 AM
Unknown Object (File)
Dec 22 2023, 11:42 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.