Page MenuHomeFreeBSD

Fix IPSEC_DEBUG in ipsec.ko
ClosedPublic

Authored by jhb on May 29 2020, 5:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 1:22 PM
Unknown Object (File)
Nov 21 2024, 1:12 PM
Unknown Object (File)
Nov 18 2024, 12:25 PM
Unknown Object (File)
Nov 18 2024, 1:33 AM
Unknown Object (File)
Nov 17 2024, 5:35 PM
Unknown Object (File)
Nov 11 2024, 10:10 PM
Unknown Object (File)
Nov 11 2024, 10:08 PM
Unknown Object (File)
Nov 11 2024, 8:55 PM
Subscribers

Details

Summary

Honor opt_ipsec.h from kernel builds.

To make this simpler, set the default contents of opt_ipsec.h
for standalone modules in sys/conf/config.mk.

Consistently include opt_ipsec.h for consumers of <netipsec/ipsec.h>.

This fixes ipsec.ko to include all of IPSEC_DEBUG.

Test Plan
  • tried to debug an OCF regression caught by ipsec and found that debug traces in xform_esp.c weren't working in ipsec.ko

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 31362
Build 28989: arc lint + arc unit

Event Timeline

jhb requested review of this revision.May 29 2020, 5:48 AM

This would be two commits, with logs as in the description, one to change opt_ipsec.h generation for modules and one to fix the #includes.

This revision is now accepted and ready to land.May 29 2020, 6:51 AM