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, Sep 2, 11:51 AM
Unknown Object (File)
Thu, Aug 27, 2:09 AM
Unknown Object (File)
Sun, Aug 16, 2:48 AM
Unknown Object (File)
Thu, Aug 13, 10:30 PM
Unknown Object (File)
Wed, Aug 12, 7:38 PM
Unknown Object (File)
Aug 8 2026, 3:23 PM
Unknown Object (File)
Aug 5 2026, 3:24 AM
Unknown Object (File)
Aug 2 2026, 5:10 AM
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