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