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
F164017118: D31703.diff
Mon, Jul 27, 11:00 PM
Unknown Object (File)
Mon, Jul 27, 5:20 PM
Unknown Object (File)
Wed, Jul 22, 3:44 AM
Unknown Object (File)
Thu, Jul 16, 4:47 AM
Unknown Object (File)
Jun 26 2026, 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
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