Bug 279699

Summary: ctld: memory leak when a target specifies both portal-group and port
Product: Base System Reporter: Alan Somers <asomers>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   

Description Alan Somers freebsd_committer freebsd_triage 2024-06-12 21:33:51 UTC
If ctl.conf specifies both portal-group and port for the same target, ctld will leak memory in kernel_port_add.  Should this be considered a configuration error?  In this case, some of the portal-group information will not get sent to the kernel.  That suggests that the configuration is faulty.  But we've allowed it so far.