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)
Dec 12 2024, 7:07 PM
Unknown Object (File)
Sep 24 2024, 3:54 AM
Unknown Object (File)
Sep 22 2024, 3:26 PM
Unknown Object (File)
Sep 16 2024, 4:24 PM
Unknown Object (File)
Sep 4 2024, 6:00 PM
Unknown Object (File)
Sep 3 2024, 4:55 PM
Unknown Object (File)
Aug 27 2024, 1:58 PM
Unknown Object (File)
Aug 18 2024, 4:53 AM
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.