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
Unknown Object (File)
Tue, Oct 14, 11:04 PM
Unknown Object (File)
Thu, Oct 9, 7:38 PM
Unknown Object (File)
Sat, Oct 4, 11:37 AM
Unknown Object (File)
Sep 17 2025, 1:37 PM
Unknown Object (File)
Sep 16 2025, 11:36 PM
Unknown Object (File)
Sep 12 2025, 2:57 PM
Unknown Object (File)
Sep 8 2025, 5:57 AM
Unknown Object (File)
Sep 7 2025, 9:58 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable