Page MenuHomeFreeBSD

Fix an early return in ctld UCL parser
ClosedPublic

Authored by rstone on Aug 27 2021, 3:58 PM.
Tags
None
Referenced Files
F135726656: D31703.diff
Wed, Nov 12, 6:44 AM
Unknown Object (File)
Mon, Nov 3, 1:28 PM
Unknown Object (File)
Wed, Oct 29, 8:13 AM
Unknown Object (File)
Tue, Oct 14, 11:04 PM
Unknown Object (File)
Oct 9 2025, 7:38 PM
Unknown Object (File)
Oct 4 2025, 11:37 AM
Unknown Object (File)
Sep 17 2025, 1:37 PM
Unknown Object (File)
Sep 16 2025, 11:36 PM
Subscribers

Details

Summary

If the UCL ctld parser encountered a port that used the CTL
ioctl device, it fell into a special case that had an erroneous
early return. This caused all configuration in the target
following the port attribute to be skipped. Fix this by replacing
the return with a continue so that the rest of the config is
parsed correctly.

Sponsored by: Dell EMC Isilon
MCF after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41238
Build 38127: arc lint + arc unit