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)
Wed, Jul 22, 3:44 AM
Unknown Object (File)
Thu, Jul 16, 4:47 AM
Unknown Object (File)
Fri, Jun 26, 3:48 PM
Unknown Object (File)
Jun 22 2026, 9:19 PM
Unknown Object (File)
Jun 22 2026, 4:51 PM
Unknown Object (File)
Jun 22 2026, 12:39 AM
Unknown Object (File)
Jun 22 2026, 12:21 AM
Unknown Object (File)
Jun 20 2026, 6:51 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