Mitigate double read locks on the layered profile
This commit is contained in:
@@ -81,7 +81,7 @@ func GetNetworkHost(ctx context.Context, remoteIP net.IP) (process *Process, err
|
||||
}
|
||||
|
||||
// Assign profile to process.
|
||||
networkHost.LocalProfileKey = networkHostProfile.Key()
|
||||
networkHost.PrimaryProfileID = networkHostProfile.ScopedID()
|
||||
networkHost.profile = networkHostProfile.LayeredProfile()
|
||||
|
||||
if networkHostProfile.Name == "" {
|
||||
|
||||
Reference in New Issue
Block a user