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)
Thu, May 9, 8:53 PM
Unknown Object (File)
Sat, Apr 27, 10:03 AM
Unknown Object (File)
Sat, Apr 27, 10:02 AM
Unknown Object (File)
Sat, Apr 27, 10:02 AM
Unknown Object (File)
Sat, Apr 27, 8:33 AM
Unknown Object (File)
Dec 22 2023, 11:42 PM
Unknown Object (File)
Dec 20 2023, 3:03 AM
Unknown Object (File)
Dec 2 2023, 8:58 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.