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)
Fri, May 22, 10:20 PM
Unknown Object (File)
Fri, May 22, 10:20 PM
Unknown Object (File)
Thu, May 21, 2:35 PM
Unknown Object (File)
Thu, May 21, 5:31 AM
Unknown Object (File)
Wed, May 20, 8:45 AM
Unknown Object (File)
Tue, May 19, 12:04 PM
Unknown Object (File)
Tue, May 19, 5:03 AM
Unknown Object (File)
Tue, May 19, 2:08 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41238
Build 38127: arc lint + arc unit