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)
Thu, Jan 15, 6:54 AM
Unknown Object (File)
Thu, Jan 15, 3:53 AM
Unknown Object (File)
Thu, Jan 15, 3:21 AM
Unknown Object (File)
Tue, Jan 13, 1:46 PM
Unknown Object (File)
Dec 10 2025, 11:49 PM
Unknown Object (File)
Dec 6 2025, 2:32 AM
Unknown Object (File)
Nov 25 2025, 2:58 PM
Unknown Object (File)
Nov 20 2025, 7:39 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